home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / dtsd20.zip / DTSEARCH.HLP (.txt) < prev    next >
Borland Turbo Vision Help  |  1993-04-14  |  146KB  |  1,728 lines

  1. THelpTopic
  2. Introduction
  3.    The purpose of dtSearch is to help you to quickly find the information you need from hundreds or thousands of documents on your PC or on a network.  Using dtSearch, you can sift through megabytes of documents in just a few seconds.
  4.    dtSearch is able to perform searches very quickly because it uses an "index" of your documents that stores the location of the words in each document.  Once dtSearch has built an index, searches are nearly instantaneous.  Since you will sometimes want to search documents that you have not indexed, dtSearch can also search without an index -- it just takes longer.
  5.    A single document index can hold information on up to 15,000 documents, and there is no limit on the number of indexes you can create.  A single search request can scan multiple directories, disk drives and document indexes.  You can search for:
  6. Combinations of words, such as "apple sauce and (pear or grape),"
  7. Words located near other words, such as "apple sauce w/5 pear,"
  8. Words located in a specific segment of a document, such as "@ADDRESS contains oak drive," and
  9. Words that match "fuzzy" specifications, such as "appl*," which would match apple, application, apply, etc.
  10.    After you have done a search, you can display retrieved documents on the screen, cut and paste text into a built-in notepad editor, print a "search report" listing all hits found with a few lines of context, or edit a retrieved document using your word processor -- all from within dtSearch.
  11.    dtSearch can search, index, and display documents in the following formats:
  12. Ami Pro
  13. ASCII or DOS Text
  14. Microsoft Rich Text Format
  15. Microsoft Word through version 5.5
  16. Microsoft Word for Windows through version 2
  17. Microsoft Works
  18. Multimate Advantage II
  19. Multimate version 4
  20. WordPerfect 4.2, 5.0, and 5.1
  21. WordPerfect for Windows 5.1 and 5.2
  22. WordStar through version 6
  23. WordStar 2000
  24.    This manual covers both dtSearch for DOS and dtSearch for Windows.  As much as possible, the menu options and dialog boxes in dtSearch for DOS and dtSearch for Windows are the same.  dtSearch for DOS and dtSearch for Windows use exactly the same file formats, so you can use the same indexes and setup files for both versions.
  25.    For information about technical support and purchasing site licenses for dtSearch, please see the Help menu.
  26. THelpTopic
  27. System Requirements
  28.    dtSearch for Windows requires Microsoft Windows version 3.1 or later and a hard disk.  dtSearch for Windows will not run under Windows 3.0.
  29.    dtSearch for DOS requires DOS version 3.3 or later and a hard disk. dtSearch for DOS will run with as little as 384k of free memory, but at least 512k is recommended for best operation.  When running dtSearch in low memory conditions, you may be unable to perform certain types of complex searches.
  30.    If you are running dtSearch in low memory conditions, you should use either the /LM1 switch ("low memory mode") or the /LM2 switch ("very low memory mode").  These switches reduce the amount of memory dtSearch needs at the expense of a small reduction in speed.  If you have extended memory, you can use the /EXT switch to mitigate the reduction in speed. Example:  To run dtSearch in low memory mode, using extended memory, enter the following command at the DOS prompt:
  31. DTSEARCH /LM1 /EXT
  32. THelpTopic
  33. Quick Start -- Overview
  34.    This section of the manual is intended to help you get started using dtSearch (either the DOS or the Windows version).  It explains very briefly how to search with and without a document index and how to build an index.  Each of these subjects is covered in more detail in the rest of the manual.
  35.    Before you begin, you should install dtSearch on your hard disk.  You should also have some documents on your hard disk to index and search.
  36.    dtSearch can perform three types of searches:  index, unindexed, and combination:
  37. An index search uses a document index to quickly identify documents that satisfy a search request.  A document index is a type of database thatdtSearch builds from a collection of documents.  The database tells dtSearch where each word appears in each document, so that dtSearch can find documents containing a particular word or combination of words very quickly.
  38. An unindexed search reads each file to be searched and checks whether it satisfies a search request.  Unindexed searches are much slower than index searches.
  39. A combination search is a search that combines an index search with an unindexed search.
  40. Using menus, dialog boxes and help
  41.    When you start dtSearch, you will see a menu bar at the top of the screen and a line at the bottom of the screen.  The menu bar at the top of the screen lists:  File, Search, Index, Window, Options, Help.  Each of these is the name of a menu.  To access a menu, move the cursor to the one you want and press ENTER or click on it with the mouse.  A "pull-down" menu will appear below the menu bar at the top of the screen.  To select an item from the menu, move the cursor to the one you want and press ENTER or click on it with the mouse.  As you move the cursor to each option in a menu, the line at the bottom of the screen will briefly describe what the menu option does.
  42.    If you are viewing a document or search results, you can get to the main menu in any of the following ways:
  43. Press F10.
  44. Click on the main menu with the mouse.
  45. Press ALT + the first letter of any of the menu options (for example, ALT-F to get into the File menu).
  46.    Most actions in dtSearch involve a dialog box, which is simply a box that appears on the screen listing information dtSearch needs in order to perform an action.  Dialog boxes are explained in more detail below.  For now, here is all you need to know to use dialog boxes in dtSearch (both the DOS and Windows versions):
  47. If you have a mouse, you can select anything in a dialog box by clicking on it with the mouse.
  48. To select or unselect something using the keyboard, press SPACEBAR.
  49. To move to the next item in a dialog box, press TAB.  To move back to the previous item press Shift-TAB.
  50. If an item in a dialog box has a highlighted letter in it, you can press ALT + the letter to get to that item quickly.
  51. In a list of options, use the arrow keys to move the cursor.
  52. Press ESCAPE (or choose the Cancel button) to get out of a dialog box without doing anything.
  53. Choose the OK button to do whatever the dialog box does.
  54.    To get help, just press F1 and use the cursor keys to move around the help screen that appears.  See the manual section on help for more information.
  55. THelpTopic
  56. Quick Start -- Unindexed Search
  57. Choose Search in the main menu.
  58. Choose Unindexed Search.  The "Unindexed Search" dialog box will appear.  This dialog box allows you to specify what you want to search for and where you want to search.
  59. Choose Search Request to enter your search request.  A search request consists of the words or phrases you want to search for, connected by:
  60.        AND
  61. both words must be present
  62.        OR
  63. at least one of the words must be present
  64.        NOT
  65. the next word must not be present (use with AND or OR)
  66.        W/5
  67. the words must occur not more than 5 words apart (you can use other numbers, such as W/10, W/20, etc.)
  68.        Examples:
  69.        
  70. apple and pear
  71.        
  72. apple w/5 pear
  73.        
  74. apple sauce w/5 grape juice
  75.        
  76. apple and (pear w/5 banana)
  77.        
  78. apple and not pear
  79. Choose the Select Directories button to select the directories you want to search.  A diagram of all of the directories on the current disk drive will appear.  To select a directory, press SPACEBAR or click on it with the mouse.  To select a directory and its subdirectories, press the plus ("+") key or double-click it with the mouse.  To see another disk drive, press CTRL + the letter of the drive you want, or use the mouse to click on the drive letter in the list of drives next to the directory tree.  After you are done selecting directories, choose OK to save your selections.
  80. Choose Filename Filters to enter filters selecting the documents you want to search.  (If you do not enter a filter, dtSearch will search all of the files in the directories you selected.)  Type in the filters with spaces separating them.  Example:  to select all files whose names end in DOC or TXT, enter 
  81.       
  82. *.DOC  *.TXT
  83. Choose OK to start the search.
  84. THelpTopic    
  85. Quick Start -- Viewing Search Results
  86. After a search is complete, a short menu will appear listing options for sorting search results (sorted by name, sorted by number of hits, unsorted, etc.).  Pick one of the options, and the results of your search will appear in a window.
  87. To view a document, move the cursor to the document you want and press SPACEBAR or ENTER, or double-click with the mouse on the name of the document.  The document will appear in another window, overlaying the first.
  88. To see the hits in a retrieved document, press F3.  (In dtSearch for Windows, you can also press the Hit button.)
  89. To close a window displaying a document or search results, press ESCAPE.
  90. THelpTopic
  91. Quick Start -- Indexing Documents
  92. First, create an index:
  93. Choose Index in the main menu and then choose choose Create Index (Basic) in the Index menu.
  94. Enter the name of the index you want to create.
  95. Choose OK to create the index.
  96. Next, add documents to the index:
  97. Choose Index in the main menu and then choose Add Documents to Index in the Index menu.
  98. In the Select Index box, move the cursor to the index you want to add the documents to.
  99. Choose Select Directories to select the directories containing the files you want to index.  The directory selection box that appears works just like the one described above in "Searching without an index."
  100. Under Filename Filters, enter filters selecting the documents you want to index.  Type in the filters with spaces between them.  Example:  to select all files whose names end in DOC or TXT, enter 
  101.          *.DOC *.TXT
  102. If you do not enter a filter, all of the files in the selected directories will be indexed.
  103. Under Exclude Filters, you can enter filters for documents you do not want to index.
  104. Choose OK to start adding documents to the index.
  105. THelpTopic
  106. Quick Start -- Index Search
  107. Choose Search in the main menu.
  108. Choose Index Search.
  109. Under Search Request, enter your search request.
  110. In the Indexes to Search box, check off the indexes you want to search.
  111. Choose OK to start your search.
  112. See "Viewing
  113. Search
  114. Results," above.
  115. THelpTopic
  116. Dialog Boxes 
  117.    Most actions in dtSearch involve a dialog box, which is simply a box that appears on the screen listing information dtSearch needs in order to perform an action.
  118.    To get from one item to the next in a dialog box, you can:
  119. Click on the item you want with the mouse,
  120. Press TAB (SHIFT-TAB takes you back to the previous item), or
  121. Press ALT + the highlighted letter in the item you want.
  122.    dtSearch dialog boxes contain the following types of objects:
  123. Checkboxes
  124. A checkbox provides a way to turn an option on or off.  It looks like this:
  125.       
  126. [ ]  Compress index
  127. The option is "on" if there is an X between the brackets.  To check or clear a checkbox, press SPACEBAR or click on it with the mouse.
  128.  Radio Buttons
  129. Radio buttons provide a way to select from a list of options.  A list of radio buttons looks like this:
  130.       
  131. ( ) Apple
  132.       
  133. ) Pear
  134.       
  135. ( ) Banana
  136. The dot appears next to the item that is selected.  To select an item, move the cursor to it (use the arrow keys) and press SPACEBAR or click on it with the mouse.
  137. Buttons
  138. A button is simply a highlighted bar that you can "press" to make dtSearch perform an action.  The two most common buttons are OK and Cancel.  OK means you want dtSearch to go ahead and do whatever the dialog box does.  Cancel means you want to get out of the dialog box without doing anything.  To press a button, move the cursor to it and press SPACEBAR, click on it with the mouse, or press ALT + the highlighted letter in the button.  For example, to select a button labelled "Cancel," press ALT-C.
  139. The ENTER Key
  140.    By default, the ENTER key takes you to the next item in a dialog box, unless the cursor is on a button.  If the cursor is on a button and you press ENTER, the button is pressed.  (TAB will always take you to the next item in the dialog box.)
  141.    In Windows, the ENTER key works differently.  Pressing ENTER in a Windows dialog box is always the same as pressing the OK button.  Instead of using ENTER to get from one item to the next, Windows users have to use TAB or the mouse.  
  142.    If you are using dtSearch for DOS and you prefer the Windows method for handling the ENTER key, you can tell dtSearch for DOS to use this method.  To do this, choose Preferences in the Options menu and, under ENTER key means..., move the radio button to Select OK button.
  143. THelpTopic
  144. File Dialog Boxes 
  145.    Whenever dtSearch asks you to enter a filename, a File Dialog Box will appear.  (Choose View File in the File menu to see an example of this type of dialog box.)  This is a type of dialog box that is designed to make it easy to locate files.  At the top of the dialog box is a line, labelled Name, where you can type the name of the file you want to use. Below this is a box, labelled Files, listing the files in the current directory.  At the bottom of the dialog box is information (modification date, size, etc.) about the highlighted file in the list.
  146.    To move from the Name line to the Files section of the dialog box, press TAB or click on the Files list with the mouse.  To get back to the Name line, press SHIFT-TAB or click on it with the mouse.
  147.    If you already know the name of the file you want, you can just type the filename under Name and press ENTER.  If the file is not in the directory listed under Files, you will need to supply the full pathname of the file (e.g., "C:\WP51\DOCS\MYDOC.TXT" instead of just "MYDOC.TXT").
  148.    If you don't know the name of the file you want to use, you can use the dialog box to browse through your directories.
  149. To see a different directory from the one displayed, type the name of the directory you want to see under Name and press ENTER.  The cursor will move into the Files list, which will be updated to show the files in the directory you requested.  
  150. At the end of the list of files will be a list of all of the subdirectories of the current directory.  To see the files in one of these subdirectories, move the cursor to it and press ENTER.
  151. If you type in a filename filter (e.g., "*.DOC" or "*.TXT") under Name and press ENTER, the Files list will show only files that match the filter.  You can combine a directory name with a filename filter, like this:
  152.       C:\WP51\*.DOC
  153. When you have found the file you want, move the cursor to it in the Files list, or type in the name of the file under Name, and choose OK.
  154. THelpTopic
  155. Help on Help 
  156.    When you are in a menu, a line of text at the bottom of the screen will briefly explain the purpose of each menu option as you move the cursor to it.
  157.    If you need more information about a dtSearch feature, you can access the hypertext help system at any time by pressing the F1 key or by choosing Help from the main menu.  The help system provides a comprehensive manual, with an index and table of contents, that explains all of the features of dtSearch.
  158.    When you press F1, an explanation of the current function or menu option will appear.  You can use the cursor keys to scroll through the help message.
  159.    The help "Index" is an alphabetical list of all of the help topics. To see the help index, choose Index from the Help menu, or press SHIFT-F1 when you are viewing another help topic.  In the index, a highlighted bar marks the currently selected topic.  To move the bar, use the TAB key or click on a topic with the mouse.  Press ENTER (or double-click with the mouse) to see the selected topic.
  160.    The table of contents is like the index except that it is organized like the table of contents of a book.  To get into the table of contents, choose Table of Contents in the Help menu.
  161.    In any help screen, ALT-F1 will take you back to the previous topic you viewed.  For example, if you are in the table of contents and select the topic "Finding Hits," you can then press ALT-F1 to get back to the table of contents.  If a topic contains highlighted words, these are hypertext links to other topics.  To use a hypertext link, press TAB to move the cursor to the highlighted word and press ENTER, or click on the highlighted word with the mouse.
  162.    Press > to see the next topic and press < to see the preceding topic. You can also use + (plus) and - (minus) instead of < and >.
  163.    To exit from help, press ESCAPE.
  164. THelpTopic
  165. What is a Document Index?
  166.    A document index is a database that stores the locations of all of the words in a group of documents, except for noise words such as "but" and "if."  Once you have built an index for a group of documents, dtSearch can use it to perform very fast index searches on those documents.  A document index is usually about one fourth the size of the original documents, although this may vary considerably depending on the number and kinds of documents in the index.
  167.    To build an index of a group of documents:
  168. Choose Create
  169. Index in the Index menu to create an empty index, and
  170. Choose Add
  171. Documents
  172. Index in the Index menu to add documents to the index.
  173. THelpTopic
  174. Index Menu
  175. Choose Index in the main menu to get into the Index menu.  This menu lists options to
  176.  create an index,
  177.  create an index using advanced options,
  178.  add documents to an index,
  179.  compress an index,
  180.  create a batch script (DOS version only),
  181.  rename, copy, delete, or recognize an index,
  182.  display information about an index,
  183.  verify that an index is not damaged,
  184.  list the words in an index, and
  185.  create or change index libraries.
  186. THelpTopic
  187. Creating an Index
  188.    There are two ways to create an index in dtSearch:  a "basic" version and an "advanced" version.
  189. Create Index (Basic)
  190.    Choose Create Index (Basic) in the Index menu to create a new index. A dialog box will appear containing a single space to fill in for the name of the index.  Enter any combination of letters, numbers or punctuation up to 16 letters long.  Choose OK to create the index.
  191.    If you "create" an index that already exists, you will clear the previously existing index (the documents will, of course, be unaffected).  dtSearch will ask you to confirm that you really want to do this.
  192. Create Index (Advanced)
  193.    Choose Create Index (Advanced) in the Index menu if you want to use the advanced options listed below:
  194. This allows you to specify the directory where dtSearch will store the index.  If you leave this blank, dtSearch will create the index in a subdirectory of the dtSearch directory.  If you enter a directory name, the name should be different for each index.  dtSearch will create a new directory for the index using the name that you supply.  (The path does not have to be a subdirectory of your dtSearch directory.)
  195. Store text with index
  196. Set this checkbox if you want to create an archive index, which contains the text of indexed documents in compressed form.  
  197. (See "Archive
  198. Indexes," below, for additional information on this option.)
  199. Case sensitive index
  200. Set this checkbox if you want dtSearch to take capitalization into account in indexing words.  In a case sensitive index, "APPLE," "Apple," and "apple" would be three different words.  For most users, this would be a very bad idea since one would generally like to retrieve a documentcontaining "Apple" in a search for "apple."  This option is useful mainly for programmers who want to index case-sensitive source code.
  201. Accent sensitive index
  202. Set this checkbox if you want dtSearch to take accents into account in indexing words.  In an accent sensitive index, "eclair" and "
  203. clair" are two different words.  Again, for most users this is not a good idea, since this option increases the chance that you will miss retrieving a document because an accent was left out of one letter.  In an accent insensitive index, accents are stripped from letters according to the rules set up in your dtSearch alphabet file.  See the manual section on the dtSearch ALPHABET utility for more information on this feature.
  204. THelpTopic
  205. Adding Documents to an Index
  206.    To add documents to an index, choose Add Documents to Index in the Index menu.  The Add Documents to Index dialog box will appear.  In the upper left corner there will be a list of the indexes you have created. Pick the index you want to use from this list.  Below is a brief summary of the options in the Add Documents to Index dialog box.  These options are discussed in more detail in the rest of this chapter.
  207. Select
  208. Directories
  209. To select directories to be indexed, choose the Select Directories button.  The "Select Directories" dialog box will pop up.  Check off the directories you want to index and choose OK to save your selections.  The directories you selected will be displayed in the Add Documents to Index dialog box.
  210. Filename
  211. Filters
  212. Under Filename Filters, enter file name filters (e.g., *.DOC, *.TXT, etc.) to use to select documents to add.  If you leave this field blank, dtSearch will index all of the files in the directories you selected.
  213. Under Exclude Filters, enter filters for any files you do not want to include in the index.
  214. Compress
  215. Index
  216. Check this box if you want dtSearch to compress the index after adding documents.  Compressing an index can take a while, especially with verylarge indexes, but it makes searches much faster.  You can also compress an index using the Compress Index option in the Index menu.
  217. Reindex Changed Files
  218. Check this box if the index already contains some documents, and you want dtSearch to reindex any documents that have been changed.
  219. Clear Index
  220. Check this box if you want dtSearch to "clear" the index before indexing.  "Clearing" an index is essentially the same as re-creating it.  All information in the index will be erased.
  221.    When you are ready to begin indexing, choose OK.
  222. Notes:
  223. 1.  In most cases, you will not have to worry about the file format of the documents being indexed because dtSearch will detect the format of each document automatically.  However, some older word processor formats cannot be detected automatically.  WordPerfect 4.2 and WordStar versions before version 4.0 fall into this category.  To tell dtSearch how to recognize such documents, choose File Types in the Options menu.  (See the section on "File Types" in the "Options" chapter for more information about this feature.)
  224. 2.  If you are indexing documents stored on floppy disks, you may find it useful to store the documents on each disk in a subdirectory named after the disk.  For example, if you have disks labelled "SMITH" and "JONES," move the documents on the SMITH disk into a directory called "SMITH," and move the documents on the JONES disk into a directory called "JONES." This will help you to locate the documents after a search.  You can see which disk has the documents you want by looking at the directory name in the search results window.
  225. THelpTopic
  226. Selecting Directories to Index
  227.    The Select Directories to Index dialog box allows you to pick the directories you want dtSearch to index from a list of all of the directories on your computer.  The left side of the dialog box displays all of the directories on one disk drive, with a check box next to each directory name.  The right side of the dialog box lists all of the disk drives you can access.
  228. To select a directory, click on it with the mouse, or move the cursor to it and press SPACEBAR.
  229. To select a directory and its subdirectories, double-click it with the mouse, or move the cursor to it and press + (the plus sign).
  230. To change disk drives, click on the drive letter with the mouse, or hold down the CTRL key and press the letter of the drive you want (for example, CTRL-D to switch to drive D).
  231. To clear all selections for the current drive, choose the Clear Drive button.  To clear all selections for all drives, choose the Clear All button.
  232. To update the list of directories for a drive, choose the Reread Drive button.  Reading the list of directories for a drive can be time-consuming.  To save time, dtSearch keeps a copy of the directory tree for each drive and only updates it when you tell it to (by choosing this button).  You should do this whenever you create a new directory and want to be able to index documents in that directory.
  233. When you are done selecting directories, choose OK to save your selections.  
  234. THelpTopic
  235. Filename Filters
  236.    A filename filter is a pattern, like *.*, *.DOC, or FILE??10.DAT, that you can use to tell dtSearch which files you want it to search or index in a directory.  For example, if you have a directory of word processing files, and want to search all of the files beginning with SMITH and having the extension DOC, you would use the filter SMITH*.DOC.
  237.    A "?" matches any single character, so SMITH?.DOC would match SMITH1.DOC, but not SMITH123.DOC.
  238.    An asterisk ("*") in a file name filter matches any number of characters, so SMITH*.DOC would match SMITH001.DOC, SMITHAAA.DOC, etc.
  239.    To use more than one filter, just list the filters, separated by spaces.  Example: 
  240.       SMITH*.DOC  JONES*.DOC  *.DAT
  241.    If you do not specify a filename filter, dtSearch will index all of the files in the directories selected.
  242.    "Exclude" filters work the same as ordinary filters.  They just specify files that you do not want to include.
  243. THelpTopic    
  244. Compressing an Index
  245.    Compressing an index does two things:  (1) it removes obsolete information about documents that have been reindexed, and (2) it reorganizes an index for faster searching.  The major disadvantage of compressing an index is that it can take a long time, since dtSearch rebuilds the entire index when it compresses it.
  246.    There are two ways to compress an index.  
  247. First, you can tell dtSearch to compress an index after adding documents to it.  To do this, check the Compress Index option in the Add Documents to Index dialog box.  
  248. Second, you can choose Compress Index in the Index menu, select the index you want to compress, and choose OK.
  249.    When dtSearch is compressing an index, you can halt compression by pressing the Cancel button.  When you halt compression, dtSearch will restore the index to its uncompressed state.
  250. THelpTopic
  251. Archive Indexes
  252.    Usually, when you index a group of documents you will want to keep the text of the documents separate from the index.  However, dtSearch can build an index of a group of documents that contains, as part of the index, a copy of the text of the documents indexed.  The text is stored in compressed form.  This means that you can index the documents, remove them from your hard disk, and still search and browse the text that you indexed.
  253.    An index that contains a copy of the text of the indexed documents is called an "archive" index.  To create an archive index, choose Create Index (Advanced) in the Index menu and check the Store text with index checkbox.
  254. Note:  An archive index does not compress and store the actual documents indexed.  Instead, dtSearch extracts a copy of the text from each document and stores that text in the index.  Thus, if you added a WordPerfect file called "SMITH.DOC" to an archive index, the text of SMITH.DOC would be stored in the index, but you could not extract SMITH.DOC itself from the index.  SMITH.DOC would remain unchanged on your hard disk.
  255. THelpTopic
  256. Index Capacity
  257.    A document index can contain up to 15,000 documents, each containing up to 64,000 words. If a file being indexed exceeds 64,000 words (about 300 double-spaced pages) dtSearch will display a message telling you that the file is too long to be indexed in its entirety.
  258.    If you try to add more than 15,000 documents to an index, you will get an "Index is Full" message.   However, you will still be able to reindex documents that are already in the index.  When dtSearch reindexes a document that is already in the index, it treats the document as a new document and marks the old version of the document in the index as "obsolete."  When you compress an index, obsolete documents are removed. If the total number of documents, including obsolete documents, exceeds 30,000, then you will have to compress the index before you can update it.
  259.    An index
  260. library is a collection of up to 25 indexes.  Most people will only need a few indexes and so will not have to learn about index libraries.  By default, dtSearch uses an index library called "IXLIB.ILB".  If you need touse more than 25 indexes, then you can create additional index libraries.  See the chapter on "Working with Indexes" for information about how to do this.
  261. THelpTopic
  262. Indexing Binary Files
  263.    When dtSearch builds an index of a group of files, it automatically detects and skips "binary" files such as executable programs and data files that do not contain text.  If a file uses a word processor format that dtSearch does not recognize, dtSearch may classify it as "binary."
  264.    If dtSearch finds any binary files during an indexing job, dtSearch will display a message at the end of the job indicating the number of binary files.  The file INDEXLOG.DAT (in your dtSearch directory) will list the files.  INDEXLOG.DAT is re-written each time an index is updated, so binary files from previous indexing jobs will not be listed. If you are using batch mode indexing, the .LOG file created from your script will list the binary files.
  265.    To tell dtSearch not to skip binary files, choose Preferences from the Options menu and check the Index binary files check box.
  266. THelpTopic
  267. Deleting an Index
  268.    Deleting an index does not affect the original documents.  It just removes the index from your system.  To delete an index, choose Delete Index from the Index menu, select the index to delete, and choose OK. dtSearch will ask you to confirm that you really want to delete the index.
  269. THelpTopic
  270. Renaming an Index
  271. To rename an index, 
  272. choose Rename Index from the Index menu, 
  273. select the index to be renamed, 
  274. enter the new name for the index, and 
  275. choose OK.  
  276. Note that the name of the directory in which the index is stored will not be affected.
  277. THelpTopic    
  278. Copying an Index
  279.    To copy an index, 
  280. choose Copy Index from the Index menu,
  281. select the index to be copied in the Copy Index dialog box, and
  282. enter a new name and directory for the copy.  The name and directory of the copy must be different from the original index.
  283.    Like the directory specified in "Create Index (Advanced)," the directory that you copy an index to should not already exist.  If the directory that you specify already contains an index, dtSearch will ask you to confirm that you want the new index to overwrite the old index. (A directory can only contain one index.)
  284. THelpTopic
  285. Recognizing an Existing Index
  286.    Although dtSearch provides a way to copy indexes, you may in some cases wish to copy indexes using another program and then use dtSearch to search the indexes.  For example, if someone created an index and gave you a copy, you might want to just copy the disk or disks using the DOS copy command.  However, if you then tried to search that index with dtSearch, the index that you copied would not appear in the "Indexes to Search" list because your copy of dtSearch would not know about the index.
  287.    The Recognize Index function solves this problem.  To recognize an index, select "Recognize Index" in the Index Menu.  A dialog box will appear listing the files in the current directory and other directories you can select.  Use the dialog box to locate one of the files in the index you want to recognize and choose OK.  (dtSearch index files have names like "INDEX_R.IX" and "INDEX_F.IX".  They always begin with "INDEX_" and end with ".IX".)  dtSearch will look in the directory for the index, extract the information it needs to "recognize" the index, and add the index to the list of indexes in the current index library.
  288. THelpTopic
  289. Index Information
  290.    To get information about an index, choose Index Information in the Index menu.  A dialog box will appear displaying the following information about the currently selected index:
  291. When it was created
  292. When it was last modified or compressed
  293. How much disk space it occupies
  294. How many words it contains
  295. How many documents it contains
  296. The Index Information screen also lists the number of "Obsolete" documents.  When dtSearch reindexes a document that is already in the index, it treats the document as a new document and marks the old version of the document in the index as "obsolete."  When you compress an index, obsolete documents are removed.
  297. THelpTopic
  298. Verifying an Index
  299.    To verify that an index is in good condition, choose Verify Index in the Index menu.  As dtSearch examines the index, it will list every word, filename, and directory name in the index.  When dtSearch is done verifying the index, it will tell you whether the index has been damaged.
  300. THelpTopic
  301. List Words in Index
  302.    Choose List Words in Index in the Index menu to generate a list of all of the words in an index.  Select the index you want to list and choose OK.  A second dialog box will appear asking for the name of a file to store the words in.  Enter the name of a file and choose OK or press ENTER.
  303. THelpTopic
  304. Index Libraries
  305.    An index library is a collection of up to 25 indexes.  dtSearch uses index libraries to record the names and locations of the document indexes that you create.  When you select indexes to search, or pick an index to update, compress, etc., the list of indexes displayed comes from the current index library.
  306.    If you do not need to use more than 25 indexes, you do not need to worry about index libraries.  (25 indexes will hold a total of up to 375,000 documents.)  dtSearch starts out with a library called "IXLIB.ILB" that will hold any indexes that you create.
  307.    If you need to use more than 25 indexes, choose Create Library in the Index menu to create a new library.  A dialog box will appear allowing you to enter the name of the new library.  Enter a name for the new library and choose OK.  (The name of the library must end in ".ILB".  If the name you enter does not end in ".ILB", dtSearch will automatically add ".ILB" to thename.)  When you create a library, that library becomes your current library.  The new library will be empty.  To add indexes to the library, use Create Index, Copy Index or Recognize Index.
  308.    Use Change Library in the Index menu to change the current index library.  When you select Change Library, a dialog box will appear containing the name of the current index library.  To see the names of all of the index libraries you have created, enter "*.ILB" in the dialog box and press ENTER.
  309. THelpTopic
  310. Search Requests (Overview)
  311.    This chapter of the manual describes the rules for composing search requests in dtSearch.  The next chapter describes how to perform index and unindexed searches.
  312.    A search request consists of a group of words, phrases, or macros linked by connectors such as "AND" and "OR" that indicate the relationship between them.
  313.    If you use more than one connector, you should use parentheses to indicate precisely what you want to search for.  For example,
  314.           apple and pear or orange
  315. could mean "(apple and pear) or orange," or it could mean "apple and (pear or orange)."  Here are some more examples:
  316. apple and pear:  both words must be present.
  317. apple or pear:  either word can be present.
  318. apple w/5 pear:  apple must occur within 5 words of pear.
  319. apple and not pear:  only apple must be present.
  320. @addr contains 123:  the segment @addr must contain 123.
  321. xname "SMITH*.DOC":  filename matches SMITH*.DOC.
  322. xdate is 11/92:  file was modified in November 1992.
  323. apple sauce:  the phrase "apple sauce" must be present.
  324. apple w/5 xfirstword:  "apple" must occur in the first five words.
  325. apple w/5 xlastword:  "apple" must occur in the last five words.
  326.    Noise words, such as "if" and "the" may not be included in searches.  Your search terms may include wildcards such as ? and *.
  327. THelpTopic
  328. Search Terms
  329.    A search term is simply one of the words in your search request.  
  330.    A search term can contain the "wildcard" characters "*" and "?".  A "?" in a word matches any single character, and a "*" matches any number of characters.  The wildcard characters can be in any position in a word.  For example:
  331.    appl*   would match apple, application, etc.
  332.    *cipl*  would match principle, participle, etc. 
  333. Use of the "*" wildcard character near the beginning of a word will slow searches somewhat.
  334.    Punctuation inside of a search word is treated as a space.  Thus, "can't" would be treated as "can t," a phrase consisting of two words: "can" and "t".  "1843(a)(2)(ii)" would become "1843 a 2 ii" (four words).  (You can customize the way dtSearch handles punctuation in text by using the dtSearch ALPHABET utility.)
  335.    dtSearch uses two built in search words to mark the beginning and end of a file -- XFIRSTWORD and XLASTWORD.  The terms are useful if you want to limit a search to the beginning or end of a file.  For example, "apple w/10 XLASTWORD" would search for the word "apple" within 10 words of the end of a document.
  336. THelpTopic    
  337. Phrase Searches
  338.    A search term can consist of several words, such as
  339.    first class mail
  340.   A search for this phrase would retrieve only files containing the words "first," "class," and "mail" in exactly the order specified.  Note that no quotation marks are used to group the words in the phrase.
  341.    If a phrase contains a noise word, then you cannot search for it as a phrase, since the noise word will not be found.  For example, you could notsearch for the phrase statue of liberty, since the noise word "of" will not be in the index.  Instead, use the W/N
  342. connector to search for statue w/2 liberty.
  343. THelpTopic
  344. Noise Words
  345.    A "noise" word is a word such as the or if that is so common that it is not useful in searches.  To save space and time, such words are ignored in index searches.  You can modify the list of words defined as noise words by editing the file "DTSEARCH.NOI."  You can use the Edit File function (in the File Menu) to edit DTSEARCH.NOI, or you can use your word processor.  If you use your word processor, make sure that you save the file as a DOS text file (with the name name, DTSEARCH.NOI, in the directory where dtSearch is installed) so that dtSearch can read it.
  346.    The words in DTSEARCH.NOI do not have to be in any particular order, and can include "wild card" characters such as * and ?.  However, noise words may not begin with wild card characters.
  347.    Search connectors, such as AND, OR, etc., should always be listed as noise words since it is not possible to search for them.
  348.    When you create an index, the index will store its own copy of the noise word list.  Changes you make to DTSEARCH.NOI will be reflected in future indexes you create but will not affect existing indexes.
  349. THelpTopic
  350. AND Connector
  351.    Use the AND connector in a search request to connect two expressions, both of which must be found in any document retrieved.  For example:
  352. apple and pear would retrieve any document that contained both words.
  353. (apple or banana) and (pear w/5 grape) would retrieve any document that (1) contained either the word apple or the word banana, and (2) contained the word pear within 5 words of the word grape.
  354. THelpTopic
  355. OR Connector
  356.    Use the OR connector in a search request to connect two expressions, at least one of which must be found in any document retrieved.  For example, "apple or pear" would retrieve any document that contained apple, pear, or both words.
  357. THelpTopic
  358. W/N Connector
  359.    Use the W/N connector in a search request to specify that one word or phrase must occur within N words of the other.  For example, "apple w/5 pear" would retrieve any document that contained the word apple within 5 words of pear.
  360.    The following are some examples of search requests using the W/N connector:
  361. (apple or pear) w/5 banana:  either apple or pear must occur within 5 words of "banana."
  362. (apple w/5 banana) w/10 pear:  apple must occur within 5 words of banana, and pear must occur within 10 words of both.
  363. (apple and banana) w/10 pear:  both apple and banana must occur within 10 words of pear.
  364.    Some types of complex expressions using the W/N connector will produce ambiguous results and should not be used.  In general, at least one of the two expressions connected by W/N must be a single word or phrase or a group of words and phrases connected by the "OR" connector.  For example:
  365. (apple and banana) w/10 (pear or grape):  both apple and banana must occur within 10 words of either pear or grape.
  366. (apple and banana) w/10 orange tree:  both apple and banana must occur within 10 words of the phrase "orange tree."
  367. The following are examples of ambiguous search requests:
  368. (apple and banana) w/10 (pear and grape)
  369. (apple w/10 banana) w/10 (pear and grape)
  370. If you enter an ambiguous search request, dtSearch will display a message warning you of the error.
  371. THelpTopic
  372. NOT and NOT W/N
  373.    Use NOT in front of any search expression to reverse its meaning. This allows you to exclude documents from a search.  For example, 
  374. apple sauce and not pear
  375. would retrieve documents containing the phrase "apple sauce" and not containing the word "pear."  Note the need for an AND to connect the NOT to the rest of the search request.  NOT standing alone can be the start of a search request.  For example, 
  376.    not pear
  377. would retrieve all documents that did not contain the word "pear."  If NOT is not the first connector in a request, you need to use either AND or OR with NOT.  Here are two more examples:
  378. apple or not pear:  retrieve documents that either (1) contain the word "apple," or (2) do not contain the word "pear."
  379. not (apple w/5 pear):  retrieve documents that do not contain the word "apple" within 5 words of the word "pear."
  380.    The NOT W/ ("not within") operator allows you to search for a word or phrase not in association with another word or phrase.  For example, 
  381. apple not w/20 pear
  382. would search for instances of the word "apple" more than 20 words away from the word "pear."  It will also retrieve files containing "apple" with no instances of "pear."
  383.    Unlike the W/ operator, NOT W/ is not symmetrical.  That is, "apple NOT W/20 pear" is not the same as "pear NOT w/20 apple."  In the "apple NOT W/20 pear" request, dtSearch searches for the word "apple" and excludes cases where "apple" is too close to the word "pear."  In the "pear NOT W/20 apple" request, dtSearch searches for the word "pear" and excludes cases where "pear" is too close to "apple."
  384. THelpTopic
  385. Search Macros
  386.    Macros can be useful for:
  387. abbreviating long names or phrases that you use frequently, or
  388. abbreviating segment definitions in segment searches.
  389.    A macro may contain anything that can be part of a search request.  A macro has two parts:  a name, which you use to refer to the macro in search requests, and the expansion, which is what the macro is expanded to.  For example, if you defined the macro "@IRC" to mean "internal revenue code," and then searched for "standard deduction w/3 @IRC," dtSearch would search for "standard deduction w/3 internal revenue code."
  390.    A macro name must begin with the "@" character (shift-2).  This is how dtSearch distinguishes macro names from ordinary words in a search request.
  391.    Choose Macros in the Options menu to create or edit a macro.  A dialog box will appear listing all of the macros you have created. To create a new macro, move the cursor to "<add new item>" and choose Edit.  Move the cursor to an existing macro and select Edit to edit the macro.
  392.    When you choose Edit, a dialog box will appear with two spaces in it: one for the "Name" of the macro, and one for the "Expansion."  Under Name, enter a single word (8 letters or less, beginning with "@") that you will use for this macro.  Under Expansion, enter the meaning you want to assign to this macro.  Choose OK to save your changes.
  393. THelpTopic
  394. Segment Searches
  395.    A segment search is a search request that must be satisfied within a certain defined segment of a document.  The segment is defined by words or phrases at the beginning and end of the segment.
  396.    The form of a segment definition is:  beginning TO end, where beginning is the word or phrase that defines the start of the segment, and end is the word or phrase that defines the end of the segment.  The only connector allowed in the beginning and end expressions in a segment definition is OR.  Examples:
  397. name to address
  398. the segment begins with the word "name" and ends with the word "address."
  399. name to (address or xlastword)
  400. the segment begins with the word "name" and ends with the word "address" or the end of the file.
  401.    To search for an expression within a segment, use the CONTAINS connector.  The expression in front of CONTAINS is the segment definition, and the expression following CONTAINS is what you are searching for.  Examples:
  402. (name to address) contains john smith
  403. (address to phone) contains (oak w/10 lane)
  404.    If a document contains more than one instance of a segment, dtSearch will search each instance separately for text matching the search request.
  405.    Segment searches work well with documents that are broken into standardized segments.  For example, a group of employee records might be in standardized documents formatted like this:
  406.    NAME:  John Doe
  407.    ADDRESS: 123 Oak Lane
  408.    PHONE NUMBER:  555-1234
  409.    SOCIAL SECURITY NUMBER 000-00-0000
  410.    etc.
  411.    You can name segments using macros.  In the above example, you could use the following macros:
  412. @name:
  413. (name to address)
  414. @addr:
  415. (address to phone number)
  416. @phone:
  417. (phone number to social security number)
  418. Then you could do a segment search like this:
  419. (@name contains John Doe) and (@addr contains Oak)
  420.    The words in a segment definition ("name," "address," etc.) will not appear as hits after a search.  Only the words being searched for in the segments ("John Doe," "Oak") will be highlighted.
  421. THelpTopic
  422. Date and Filename Searches
  423.    To search for a file with a specific name, use XNAME.  For example, if you want to find a file called FILENAME.EXT, search for:
  424.    xname "filename.ext"
  425. The filename, like other search terms, can include wildcard characters ("*.TXT," "SMITH??.*," etc.)  Unlike other search terms, a filename must be in quotation marks.  This enables dtSearch to recognize special characters in the filename (such as the dot) that are treated as spaces in other search words.  The filename cannot include a directory name or disk drive.
  426.    To search for a file that was last modified on, before, or after a certain date, use the XDATE search command, like this:
  427.    xdate is January 1, 1991
  428.    xdate before January 1, 1991
  429.    xdate after January 1, 1991
  430. dtSearch can recognize a variety of date formats, such as: 1/1/91; 1/91; January 1, 1991; and Jan 1 91 (two-digit years are assumed to be in the twentieth century).
  431.    You can combine name and date searches with other types of searches using the usual search connectors.  For example:
  432. (xname "*.doc") and (xdate after 1/1/91) and (apple w/5 pear)
  433. This would retrieve documents whose names end in .DOC, that were last modified after January 1, 1991, and that contain the word apple within 5 words of the word pear.
  434. THelpTopic    
  435. Search Menu
  436.    Choose Search in the main menu to get into the Search menu.  The Search menu offers three ways to search for documents:
  437. An index
  438. search, which searches using one or more document indexes.
  439. An unindexed
  440. search, which directly searches files in one or more directories.
  441. A combination
  442. search, which combines an index search with an unindexed search.
  443.    The search menu also lists options to view previous search results or previous search reports.  dtSearch saves the last ten searches and search reports.  To view an old search or search report, choose Previous Search or Previous Search Report in the Search Menu.  dtSearch will list all of the searches it has saved.  Select the one you want to see and choose OK.  
  444. THelpTopic
  445. Index Searches
  446.    An index search is the fastest way to search for documents.  Before you can do an index search, you must first build an index.  See the chapter on "Indexing Documents" for more information.  To start an index search, choose Search in the main menu and then choose Index Search in the Search menu.
  447.    Under Search
  448. Request, enter your search request. The last request you entered will be displayed so you can reuse it if you like.
  449.    In the Indexes to Search box, select the indexes you want to search. You can search any or all of the indexes displayed.
  450.    Choose OK to start the search.
  451. THelpTopic
  452. Unindexed Searches
  453.    In an unindexed search, dtSearch directly searches every file that you ask it to search, looking for documents that match your search request. Unindexed searches are much slower than index searches.
  454.    To start an unindexed search, choose Unindexed Search from the Search menu.  The Unindexed Search dialog box will appear.
  455.    Under Search
  456. Request, enter your search request. The last request you entered will be displayed so you can reuse it if you like.
  457.    The dialog box will also contain a list of the directories that will be searched.  To select directories to be searched, choose the Select Directories button.  The "Select
  458. Directories" dialog box will pop up.  Check off the directories you want to index and choose OK to save your selections.  (This dialog box is described in more detail below.)
  459.    Under Filename
  460. Filters, enter file name filters (e.g., *.DOC, *.TXT, etc.) to use to select documents to search.  If you leave Filename Filters blank, dtSearch will search all of the documents in the selected directories.  Under Exclude Filters, enter filters for any files you do not want to include in the search.  Filename filters are described in more detail in the chapter on "Indexing Documents."
  461.    Choose OK to start the search.
  462. THelpTopic
  463. Combination Searches
  464.    A combination search is a search that combines an index search with an unindexed search.  The Combination Search dialog box contains all of the elements in the Index Search and Unindexed Search dialog boxes.
  465.    Under Search
  466. Request, enter your search request.
  467.    In the Indexes to Search box, check off the indexes you want to search.
  468.    The dialog box will also contain a list of the directories that will be searched in the unindexed portion of the search.  To select directories to besearched, choose the Select
  469. Directories button.  The "Select Directories" dialog box will pop up.  Check off the directories you want to index and choose OK to save your selections. (This dialog box is described in more detail below.)
  470.    Under Filename
  471. Filters, enter file name filters (e.g., *.DOC, *.TXT, etc.) to use to select documents to search.  If you leave Filename Filters blank, dtSearch will search all of the documents in the selected directories.  Under Exclude Filters, enter filters for any files you do not want to include in the search.  Filename filters are also described in more detail in the chapter on "Indexing Documents."
  472.    Choose OK to start the search.
  473. THelpTopic
  474. Selecting Directories to Search
  475.    The Select Directories to Search dialog box allows you to pick the directories you want dtSearch to search from a list of all of the directories on your computer.  The left side of the dialog box displays all of the directories on one disk drive, with a check box next to each directory name.  The right side of the dialog box lists all of the disk drives you can access.
  476. To select a directory, click on it with the mouse, or move the cursor to it and press SPACEBAR.
  477. To select a directory and its subdirectories, double-click it with the mouse, or move the cursor to it and press + (the plus sign).
  478. To change disk drives, click on the drive letter with the mouse, or hold down the CTRL key and press the letter of the drive you want (for example, CTRL-D to switch to drive D).
  479. To clear all selections for the current drive, choose the Clear Drive button.  To clear all selections for all drives, choose the Clear All button.
  480. To update the list of directories for a drive, choose the Reread Drive button.  Reading the list of directories for a drive can be time-consuming.  To save time, dtSearch keeps a copy of the directory tree for each drive and only updates it when you tell it to (by choosing this button).  Youshould do this whenever you create a new directory and want to be able to search documents in that directory.
  481. When you are done selecting directories, choose OK to save your selections.
  482. THelpTopic
  483. Sorting Search Results
  484.    After a search is complete, the "Display Search Results" dialog box will appear, listing several different ways to display the results of your search:
  485. Sorted by name, in alphabetical order
  486. Sorted by number of hits
  487. Sorted by the date of the document
  488. Unsorted -- displays documents in the order they were found
  489.    Select the way you want to sort your search results and choose OK to display the results of your search.  Choose Cancel to return to the main menu without viewing search results.
  490.    The next chapter describes how to view the results of your search.
  491. THelpTopic!
  492. Viewing Search Results
  493.    After you do a search, a Search Results window will appear listing the documents that were retrieved by your search.  In dtSearch for DOS, a list of function keys will appear at the bottom of the screen when you are in a Search Results window.  These function keys will work in dtSearch for Windows, but dtSearch for Windows also provides a button bar at the top of the Search Results window.
  494. F2  Find
  495. Search the list of files for something.  (Note:  In a Search Results window, Find searches the list of documents, not the documents themselves.)
  496. F6  Mark
  497. Start marking text to copy to a file.
  498. F7  Copy
  499. Copy marked text to a file.
  500. F8  KWIC
  501. Generate a "KWIC" view of a document listing all hits in the document with a few lines of context.
  502. F9  Local Menu
  503. Pops up the "Local" menu listing all of the things you can do with the window.
  504. The Local Menu
  505.     The Local
  506. menu lists things you can do with a search results window:
  507. Resize
  508. Resize the window (DOS Version).
  509. Expand the window to the maximum possible size (DOS Version).
  510. Print
  511. Print the list of files retrieved.
  512. Find  
  513. See Find, above.
  514. Mark  
  515. See Mark, above.
  516. Copy  
  517. See Copy, above.
  518. KWIC  
  519. See KWIC, above.
  520. Search Report
  521. Generate a search report, listing each hit in each file with a few lines of context.
  522. Search Results
  523.   Format
  524. Change the way search results are displayed.
  525. Cursor commands for the Search Results window
  526.    Top of list
  527. Home,Home,Up
  528.    End of list
  529. Home,Home,Dn
  530.    Page up
  531.    Page down
  532. Menu and Window Commands
  533. To get into the main menu, press F10 or click on the main menu with the mouse.
  534. To get back to the Search Results window from the main menu or the local menu, press ESCAPE or click on the window with the mouse.
  535. ESCAPE closes the Search Results window.
  536. To view one of the documents in the list, move the cursor to it and press SPACEBAR or ENTER or double-click on the document with the mouse. The document you select will appear in a window overlaying the Search Results window.
  537. THelpTopic$
  538. Viewing a Retrieved Document
  539.    When you are viewing a document, you will see a list of function keys (in DOS) or a button bar (in Windows) similar to the one displayed in a Search Results window:
  540. F2  Find
  541. Search the document for a string of text.
  542. F3  Hit
  543. Search the document for the next hit from your search request.
  544. F5  Next
  545. Display the next document retrieved in the search. Shift-F5 displays the previous document retrieved in the search.  In Windows, choose the Prev button to do this.
  546. F6  Mark
  547. Start marking text to copy to a file.
  548. F7  Copy
  549. Copy marked text to a file.
  550. F8  Launch
  551. Launch the document.  (See the chapter on "Launching Applications" for more information.)
  552. F9  Local Menu
  553. Pops up the "Local" menu listing things you can do with the window.
  554. The Local Menu
  555.     The Local
  556. menu lists things you can do with a retrieved document:
  557. Resize
  558. Resize the window (DOS Version).
  559. Expand the window to the maximum possible size (DOS Version).
  560. Print
  561. Print the document.
  562. Find  
  563. See Find, above.
  564. Hit    
  565. See Hit, above.
  566. Next  
  567. See Next, above.
  568. Previous
  569. Display the previous document retrieved in the search.
  570. Mark  
  571. See Mark, above.
  572. Copy  
  573. See Copy, above.
  574. Launch
  575. See Launch, above.
  576. Cursor commands
  577.    Top of document
  578. Home,Home,Up
  579.    End of document
  580. Home,Home,Dn
  581.    Beginning of line
  582. Home,Left
  583.    End of line
  584. Home,Right or End
  585.    Page up
  586.    Page down
  587. Menu and Window Commands
  588. To get into the main menu, press F10 or click on the main menu with the mouse.
  589. To get back to this window from the main menu or from the local menu, press ESCAPE or click on the window with the mouse.
  590. To close this window, press ESCAPE.
  591. See "Viewing
  592. Multiple
  593. Windows" for more information on viewing documents and search results in overlapping windows.
  594. THelpTopic
  595. Local Menu
  596.      When you are viewing or editing a file or viewing search results, a retrieved document, a search report, or a Kwic view, press F9 (or click on the word "Local") to pop up the "Local" menu for the window you are in.  You can also get into the Local menu by choosing "Local" in from the Window menu.
  597.      The Local menu lists all of the things you can do with the window you are in.  The Local menu is different for each type of window. For example, the Local menu for a search results window includes an option to generate a search report.  The Local menu for a a retrieved document includes an option to skip to the next document retrieved in the search. In the Local menu, you can move the cursor and select items just as you would in other dtSearch menus.
  598. THelpTopic
  599. Search Results Format
  600.    Choose Search Results Format in the Local menu in a search results window (or in the Options menu) to modify the format dtSearch uses to display search results.  A dialog box will appear listing all of the items that can be displayed in search results.  Select the ones you want to be displayed and choose OK to save your changes.  The only limitation on your ability to customize search results is that either the name of the retrieved file or its "title" (the first few words in the file) must be displayed.
  601.    By default, dtSearch will display, for each file, the number of hits, name, directory, modification date, and title.
  602. THelpTopic
  603. Finding Text in a Window
  604.    Choose Find (or press F2) to search for any text in a displayed document.  dtSearch will ask you for the text to search for.  Type in the text you want to find and choose OK.  Find is like the search function in your word processor -- you can search for words, spaces, punctuation, etc.  Capitalization is ignored.  If you use Find in a Search Results window, it will search the list of filenames, modification dates, etc., as it appears on the screen.
  605.    Find starts searching after the line that the cursor is on, so you may wish to move to the top of the document before beginning a search.  Find will bring you to the beginning of the line containing the text searched for.
  606. THelpTopic
  607. Finding Hits
  608.    After you have done a search and you have a retrieved document on the screen, choose Hit (or press F3) to quickly find the next hit from your search request in the document.  For example, if you had searched for "apple and (pear w/5 banana)," pressing the F3 key while viewing a document would cause dtSearch to locate the next occurrence of one of the words "apple," "pear," or "banana" in the document you are viewing.
  609.    Hit will only find words that match a search request.  In the above example, Hit would only find instances of "pear" within five words of "banana."
  610. THelpTopic
  611. Kwic View
  612.    The "KWIC" ("Key word in context") function will display only the part of a document that contains terms matching your search request.  When you are in a search results window, move the cursor to the name of the document that you want to see and press the F8 key or use the mouse to click on KWIC.  dtSearch will ask how many lines of context you want. This is the number of lines surrounding each hit that you want to see. Enter the number of lines that you want and choose OK.
  613.    A window will pop up over the search results window displaying a KWIC view of the document you selected.  You can use most of the same browsingand menu commands in a KWIC window as you can in a retrieved document.  Press F9 to pop up the local menu.
  614.    You can also see all of the document by moving the cursor to the name of the document and pressing ENTER or by double-clicking on the document name with the mouse.  In addition, a file displayed in KWIC mode contains highlighted line and page markers to show where in the document the text appeared.  These highlighted markers act as hypertext links into the full text of the document.
  615.    For example, suppose that you are viewing a document in KWIC mode and see a block of text with a marker "[Page 10 Line 15]."  If you move the cursor to the marker and press ENTER (or double-click with the mouse), a window displaying the full document will pop up over your KWIC view, positioned to line 15 of page 10.  To return to the KWIC view, press ESCAPE.
  616. THelpTopic
  617. Search Reports
  618.    A search report lists each hit found in each of the documents retrieved in a search with a few lines of context surrounding it.  It is like a combined KWIC view of every document retrieved in a your search. To create a search report, you must be in a Search Results window.
  619. Press F9 to get into the Local Menu and choose Search Report from this menu. 
  620. The Search Report dialog box will pop up.  In this dialog box, enter the number of lines of context you want surrounding each hit and choose OK.
  621.    Preparing a search report may take a while since dtSearch has to scan every document retrieved to get the text to display.  Search report windows use the same commands and function keys as KWIC windows.
  622. THelpTopic
  623. Viewing Multiple Windows
  624.    In dtSearch, the space between the menu bar at the top of the screen and the bar at the bottom of the screen describing the current menu option is a workspace, like a desktop, that you can use for searching and browsing documents.  As with a desk surface, you can place several documents on the surface and move them around so you can see the one that you want to read.  Menus and dialog boxes will pop up over the desktop, but the underlying documents will remain until you remove them.
  625.    You can add search results windows, document windows, KWIC views, and search reports to the desktop.
  626. Use TAB or the mouse to switch from one window to the next.  (Use SHIFT-TAB to switch back.)
  627. To close the window you are in, press ESCAPE.
  628. To "cascade" your windows (rearrange them so that they overlap), choose Cascade from the Window menu.
  629. To "tile" your windows (rearrange them so that they do not overlap), choose Tile from the Window menu.
  630. Example
  631. For an example of how to use multiple windows in dtSearch, try the following:
  632. Do a search, then move the cursor to the name of a document and press SPACEBAR.  The document you selected will appear.
  633. Now press TAB.  The search results window will appear, overlaying the document you were viewing.  
  634. Move the cursor to a different document and press SPACEBAR again.  The new document will appear on top of the search results and the other document.
  635. Press TAB repeatedly and each of the three windows will appear on top of the others in turn.
  636. Press ALT-W to get into the Window menu and choose Tile.  You will see all of the windows you have created arranged so that they do not overlap.  Press TAB to move among the windows.
  637. Press ALT-W again and this time choose Cascade.  Now your windows will be arranged so that they do overlap.  (To move or resize the windows, see below.)
  638. Finally, press ESCAPE three times to close each of the windows.
  639. NOTE:  Cascade and Tile rearrange only the windows existing on the desktop when these options are selected.  If you add additional windows, you must choose Cascade or Tile again if you want to rearrange the new windows.
  640. Resizing and Moving Windows
  641.    Press CTRL-F5 (or choose Resize in the Local menu) to get into resizing mode.  The bar at the bottom of the screen provides instructions for moving and resizing the window.
  642. To move the window around, use the arrow keys.
  643. To resize the window, hold down the SHIFT key and use the arrow keys.
  644. When you are done resizing the window, press ENTER.
  645.    To maximize the size of a window, choose Zoom in the Local menu.
  646. THelpTopic
  647. Marking and Copying Text
  648.    To copy a block of text from search results, a retrieved document, a KWIC view, a search report, or a "View File" window:
  649. Choose Mark (F6) to start marking the block of text.  The line under the cursor will be highlighted.
  650. Move the cursor to the end of the block you want to copy and choose Copy (F7).
  651. A dialog box will appear, asking for the name of the file to write the text to.  Enter a filename and choose OK.  dtSearch will copy the marked text to the file you specify.  If the file already exists, dtSearch will ask whether you want to overwrite the file or append the text to it.
  652. You can repeat these steps to copy multiple blocks of text to a file.
  653.    After you have collected text using Mark and Copy, you can edit it using Edit File in the File menu.  Press ALT-F to get into the File menu (you do not have to close the window you are viewing) and choose Edit File.  dtSearch will ask for the name of the file you want to edit. Enter the name of the file you used to store the copied text.  An editor will then pop up allowing you to edit the text you copied.  See "Editing a File" in the "File Menu" chapter for information about editing files using this editor.
  654.    You can switch between the editor and your other windows.  In dtSearch for DOS, use TAB and SHIFT-TAB.  In dtSearch for Windows, the editor is a separate program (the Windows NOTEPAD editor) so use ALT-TAB to switch between the editor and dtSearch.
  655. THelpTopic
  656. Printing a File
  657.    When you are viewing search results, a retrieved document, a KWIC view, or a search report, you can print the contents of the window you are viewing by choosing Print from the Local menu.  Print will print the entire document, not just what appears on the screen.
  658.    When you select Print, the Print dialog box will appear.  The Print dialog box allows you to set page length, width, and margins, headers, footers, and page numbering.
  659.    Under Print To, select the printer you want to use.  (If you have only one printer, it will generally be LPT1.)  
  660.    If you want to print to a file instead of to the printer, choose File under Print To.  After you choose OK, dtSearch will ask for the name of the file to print to.
  661. THelpTopic
  662. Using the Mouse 
  663.    In dtSearch for DOS, all document windows have the same basic structure.  Surrounding the window is a frame.  When the window is on top, the frame will have double lines around it.  Otherwise, the window will have a single line around it.
  664.    In the upper left corner, there will be a small square.  Click on this square to close the window.
  665.    In the upper right corner, there will be an arrow.  Click on this arrow to zoom the window, or to unzoom it if it is zoomed.
  666.    On the right edge will be a scroll bar.  Click on the arrows or on the bar itself to scroll up and down in your document.
  667.    To resize a window, click on the lower right corner and drag.  To move the window, click on the top and drag.
  668.    You can activate any of the functions listed at the bottom of the screen by clicking on the name of the function key.  For example, click on F6 Mark to start marking text to be copied.
  669. THelpTopic
  670. Batch Indexing and Searching -- Overview
  671.    Batch mode indexing allows you to create, update, and compress a document index by running dtSearch from the DOS command line or from a DOS batch file.  Batch mode indexing can be useful if, for example, you want to perform a complex and time-consuming series of tasks every night to update your indexes.  Batch mode indexing and searching is available in dtSearch for DOS only.
  672.    To set up a batch indexing job, first create a "script" that lists the tasks that you want dtSearch to perform.  A script is a text file that lists a series of indexing commands that dtSearch will carry out.
  673.    The easiest way to create a script is to use the Create Batch Script option in the Index menu.  When you select this option, a dialog box will appear that is almost identical to the "Add Documents to Index" dialog box.
  674.    Fill out the box exactly as you would if you were updating an index. See the section on "Adding Documents to an Index" in the "Indexing Documents" chapter for more information about the options in the Create Batch Script dialog box.
  675.    When you are done setting up the indexing job, choose OK to create a script.  A dialog box will pop up asking for the name of the script to create.  Enter a name for the script and choose OK.  dtSearch will then store all of the information you have provided (the index to update, the directories to index, etc.) in a script file that you can run later.  
  676.    To run the script that you created, first exit dtSearch.  A batch script cannot be run from the DOS shell option in the File menu.  After you are out of dtSearch, type the following at the DOS prompt:
  677.    DTSEARCH /SCRIPT MYSCRIPT.JOB
  678. where "MYSCRIPT.JOB" is the name of your script.  You should be in the directory where dtSearch is installed when you do this.  If you created the script in a different directory, you will need to supply the full pathname of the script, e.g., C:\WHATEVER\MYSCRIPT.JOB.  dtSearch will then perform the indexing task you specified.
  679.    dtSearch will record any errors encountered during the job in a file called MYSCRIPT.LOG.  Errors and informational messages will not be displayed on the screen, since dtSearch assumes that batch jobs will run without someone watching them.  After a batch indexing job, you should check the log file to see if any errors occurred.
  680. THelpTopic
  681. Batch Scripts
  682.    A script file is any text file that dtSearch can read.  You can create a script using the Create Batch Script option in the Index menu, or you can create a script by hand.  Before you try to write your own scripts, you may want to create an example using the Create Batch Script function so you can see what a batch script looks like.  After you create the script, choose View File in the File menu to read it.  Using Edit File, you can easily edit the script to create a new script.
  683.    You can also create a script outside of dtSearch.  A script can be ASCII text or it can be in one of the word processor formats that dtSearch recognizes, such as WordPerfect or WordStar.  The first line of a script must consist of the words DTSEARCH SCRIPT.
  684.    A script consists of a series of "SET" statements that specify the documents to be indexed and the index to use, and commands such as "ADD" and "COMPRESS."  dtSearch ignores any line beginning with a *, so you can include comments in a script.  Here is an example:
  685.    DTSEARCH SCRIPT
  686.    * Create the index
  687.    SET INDEXNAME = MyIndex
  688.    CREATE
  689.    * Add documents from C:\DOCS 
  690.    SET DOCPATH = C:\DOCS
  691.    SET FILTER = *.DOC *.TXT *.WPF
  692.    ADD
  693.    * Compress the index
  694.    COMPRESS
  695. This script would (1) create an index called "MyIndex," (2) add to the index documents in the directory C:\DOCS, and (3) compress the index. (You can combine several different indexing and searching operations in a single script.)  To run this script, put it in the file UPDATE.JOB in the dtSearch directory and execute the command:
  696.    DTSEARCH /SCRIPT UPDATE.JOB
  697. from the dtSearch directory.  dtSearch will then execute the script, logging any error messages to the file UPDATE.LOG.
  698. THelpTopic
  699. Creating an Index (Batch)
  700.    To create an index, set up a script like this:
  701.    DTSEARCH SCRIPT
  702.    SET INDEXNAME = MyIndex
  703.    SET INDEXPATH = C:\DOCINDEX
  704.    CREATE
  705.    The two SET statements tell the program what you want to call the index and the directory you want to put it into.  The "CREATE" statement tells dtSearch to create the index in the specified directory.
  706.    There are three options you can use with CREATE:  ARCHIVE, CASE, and ACCENT.
  707. ARCHIVE:
  708. Use this option if you want to create an archive index.  This is an index that contains the text of indexed documents, in compressed form.
  709. CASE:
  710. Use this option if you want the index to be case-sensitive.
  711. ACCENT:
  712. Use this option if you want the index to be accent-sensitive.
  713. To use one or more of these options, simply list them on the same line as the CREATE command:
  714.    CREATE ARCHIVE CASE
  715.    WARNING:  Please be careful when using CREATE.  If you create an index that already exists, dtSearch will delete the old index and create a new, empty index in its place.  In interactive mode, you will get a warning message before this happens, but in batch mode dtSearch simply assumes that you really want to create a new index.
  716. THelpTopic
  717. Adding Documents to an Index (Batch)
  718.    To add documents to an index in a batch script, you need to select an index to add to, list the directories to index, and list the file name filters you want to use.
  719.    Use "SET DOCPATH =" to tell dtSearch the directory in which the documents are located.  If you want to index more than one directory, list the directories with plus signs ("+") separating them, like this:
  720. SET DOCPATH = C:\ONE + C:\TWO +
  721.       C:\THREE + C:\FOUR + 
  722.       C:\FIVE 
  723. If the list of directories will take up more than one line, make sure that each line ends in a plus sign so that dtSearch knows to look on the next line for more directories.
  724.    To specify file name filters, use "SET FILTER =".  Use "SET EXCLUDE =" to specify files that you do not want to index.
  725.    After you have provided the information dtSearch needs to index your documents, use "ADD" to add the documents to the index.  Example:
  726. DTSEARCH SCRIPT
  727.    SET INDEXNAME = MyIndex
  728. SET DOCPATH = C:\DOCS + C:\DOCS2 + C:\DOCS3
  729. SET FILTER = *.DOC *.TXT *.WPF
  730.    SET EXCLUDE = A*.DOC
  731. This would add documents from C:\DOCS, C:\DOCS2, and C:\DOCS3 to the index "MyIndex."
  732.    The CREATE function needs to know both the name and the directory for an index, and so both the SET INDEXNAME and the SET INDEXPATH must be present to create an index.  The ADD function just needs to know which index you want to add documents to, so you can use either the name (SET INDEXNAME) or the path (SET INDEXPATH) to specify the index.
  733. THelpTopic
  734. Reindexing (Batch)
  735.    The REINDEX command in a script will cause dtSearch to reindex any documents in an index that have been modified since the index was last updated.  This is the batch mode equivalent to the "Reindex changed files" option in the Add Documents to Index dialog box.  Example:
  736.    DTSEARCH SCRIPT
  737.    SET INDEXNAME = MyIndex
  738.    REINDEX
  739. THelpTopic
  740. Compressing an Index (Batch)
  741.    To compress an index, use SET INDEXNAME or SET INDEXPATH to specify the index to compress and then use the COMPRESS command.  Example:
  742.    DTSEARCH SCRIPT
  743.    SET INDEXNAME = MyIndex
  744.    COMPRESS
  745. THelpTopic
  746. Searching an Index (Batch)
  747.    The following is an example of a batch script that would perform an indexed search:
  748.    DTSEARCH SCRIPT
  749.    SET REQUEST = apple and pear +
  750.       and banana 
  751.    SET INDEXES = Index1 + Index2 + Index3
  752.    SET SORT = HITS
  753.    SET RESULTS = c:\dtsearch\search1.dat
  754.    SEARCH
  755.    SET REQUEST tells dtSearch what you want to search for.  Note that since the request was too long to fit on one line the first line ends in a + to indicate that the request continues on the next line.
  756.    SET INDEXES tells dtSearch which indexes you want to search.  If you want to search more than one index, be sure to use a + to separate the names of the indexes you want to search.
  757.    Use SET SORT to specify how the search results will be sorted. Options are:
  758.    HITS
  759. Sort by hits.
  760.    NAME
  761. Sort by name.
  762.    DATE
  763. Sort by date.
  764.    NONE
  765. Unsorted.
  766.    You can use ASCENDING or DESCENDING after the type of search to specify an ascending or descending sort.  For example:
  767.    SET SORT = NAME DESCENDING
  768. This would specify a sort in reverse alphabetical order.  By default, name sorts are ascending and hits and date sorts are descending.
  769.    After your search, you will want to be able to see the results.  There are three ways to do this.  First, you can use
  770.    SET RESULTS = c:\mysearch.dat
  771. This tells dtSearch to write the results of the search to c:\mysearch.dat.  After your search, you can choose View File in the File menu to view c:\mysearch.dat.  Your search results will appear in the same way as other search results in dtSearch.
  772.    A second way to view your search results is to create a listing file, which is simply a list of the name of each retrieved document and the number of hits it contained.  If you view this file in dtSearch, it will look like a list of names and will not act like a search results window. Listing files are useful if you want to use another program to process the results of your search.  To create a listing file, use the command:
  773. SET LISTING = c:\mysearch.lst
  774. A batch search can produce either a search results file, a listing file, or both.
  775.    Finally, you can use Previous Search in the Search menu to view your search results.  This will work whether or not you use SET RESULTS or SET LISTING.  Note that only the last ten searches are saved for viewing.
  776. THelpTopic
  777. The File Menu
  778. Choose File in the main menu to get into the File menu.  The File menu lists options to 
  779.   view, edit, or print a file,
  780.   create a DOS Shell (DOS version only), or
  781.   exit dtSearch.
  782. THelpTopic!
  783. Viewing a File
  784.    To view a file, choose View File in the File menu.  A dialog box will appear asking for the name of the file you want to view.  Type in the name of the file and press ENTER.  The file will appear in a window.
  785.    When you are viewing a document, you will see a list of function keys (in DOS) or a button bar (in Windows) similar to the one displayed when viewing a file retrieved in a search:
  786. F2  Find
  787. Search the document for a string of text.
  788. F6  Mark
  789. Start marking text to copy to a file.
  790. F7  Copy
  791. Copy marked text to a file.
  792. F8  Launch
  793. Launch the document.
  794. F9  Local Menu
  795. Pops up the "Local" menu listing various things you can do with the window.
  796. The Local Menu
  797.     The Local menu lists things you can do when viewing a file:
  798. Resize
  799. Resize the window (DOS Version).
  800. Expand the window to the maximum possible size  (DOS Version).
  801. Print
  802. Print the document.
  803. Find  
  804. See Find, above.
  805. Mark  
  806. See Mark, above.
  807. Copy  
  808. See Copy, above.
  809. Launch  
  810. See Launch, above.
  811. Cursor commands
  812.    Top of document
  813. Home,Home,Up
  814.    End of document
  815. Home,Home,Dn
  816.    Beginning of line
  817. Home,Left
  818.    End of line
  819. Home,Right or End
  820.    Page up
  821.    Page down
  822. Menu and Window Commands
  823. To get into the main menu, press F10 or click on the main menu with the mouse.
  824. To get back to the window from the main menu, press ESCAPE or click on the window with the mouse.
  825. To move from one window to the next (i.e., if you are viewing more than one file or if there are search results on the screen), press TAB. SHIFT-TAB moves to the previous window.
  826. ESCAPE closes a window.
  827. See "Viewing
  828. Multiple
  829. Windows" for more information on viewing documents and search results in overlapping windows.
  830. THelpTopic7
  831. Editing a File 
  832.    dtSearch for DOS contains a built-in editor that allows you to edit DOS text files.  This editor cannot edit files in word processor formats such as WordPerfect or Ami Pro.  See the chapter on "Launching Applications" for information about editing word processor files.  The dtSearch editor will only edit DOS text files.  
  833.    The editor provides limited editing capabilities, intended mainly for jotting down notes to accompany text clipped from documents.  (To clip text from a document, use the Mark and Copy functions, which are explained in the chapter on "Viewing Search Results.")
  834.    To edit a file, choose Edit File from the File menu.  The Edit File dialog box will appear.  Enter the name of the file that you want to edit and choose OK.
  835. Function Keys
  836. Search the document for a string of text.
  837. Start marking text to cut or copy.
  838. Local Menu
  839. Pops up the "Local" menu listing various things you can do with the window.
  840. The Local Menu
  841. The Local menu lists things you can do with an editor window:
  842. Resize
  843. Resize the window
  844. Expand the window to the maximum possible size.
  845. Save   
  846. Save the file under its current name.
  847. Save As
  848. Save the file under a different name.
  849. Insert File
  850. Insert another file into the one being edited.
  851. Undo  
  852. Undelete the last deleted block.
  853. Start marking a block.
  854. Cut   
  855. Cut the currently marked block (to be pasted elsewhere).
  856. Copy   
  857. Copy the currently marked block (to be pasted elsewhere).
  858. Paste  
  859. Insert a block that was cut or copied.
  860. Delete
  861. Delete the marked block.
  862. Find  
  863. See Find, above.
  864. Replace
  865. Global search and replace.
  866. Search Again
  867. Repeat the last searching operation.
  868. Cursor commands
  869.    Top of document
  870. Home,Home,Up
  871.    End of document
  872. Home,Home,Dn
  873.    Beginning of line
  874. Home,Left
  875.    End of line
  876. Home,Right or End
  877.    Page up
  878.    Page down
  879. Menu and Window Commands
  880. To get into the main menu, press F10.
  881.   To get back to the editor window from the main menu, press ESCAPE.
  882. To move to the next window on the screen, press TAB.  SHIFT-TAB moves to the previous window.
  883. When you are done editing, you either save using the F9 menu or just close the window by pressing ESCAPE.  If you close the window without saving, dtSearch will ask if you want to save your changes.
  884. Moving and Copying
  885. To mark a block of text, you can:
  886. choose Mark (or press F6) and move the cursor, or
  887. hold down the left mouse button and move the mouse.
  888. After you have marked a block:
  889. Press DEL to delete it.
  890. Choose Copy (or press CTRL-INS) to save the block to be pasted into the text somewhere else.
  891. Choose Cut (SHIFT-DEL) to delete the text and save a copy to be pasted somewhere else.
  892. To paste text, move the cursor to where you want to insert it and choose Paste (SHIFT-INS).  Note that you cannot use the editor's Cut, Copy and Paste functions to move a block outside the editor where you originally cut or copied it.
  893.    You can copy text from a search results, retrieved document, KWIC view, search report, or file view window into an editor window that is already on the screen:
  894. Press TAB or use the mouse to get from the editor window into the other window.
  895. In the other window, press F6 to start marking the block you want to copy, move the cursor to the end of the text to be copied, and press F7.
  896. A dialog box will pop up, asking for the name of the file you want to copy the text to.  Enter a filename and choose OK.
  897. Now use TAB or the mouse to get back into the editor and press F9 to pop up the Local menu.  Choose Insert File and enter the name of the file you just created.  The text will be inserted in the editor.
  898. THelpTopic
  899. Printing a File
  900.    When you are viewing a file, you can print the file you are viewing by choosing Print from the File menu.  Print will print the entire file, not just what appears on the screen.
  901.    When you select Print, the Print dialog box will appear.  The Print dialog box allows you to set page length, width, and margins, headers, footers, and page numbering.  The dialog box is the same for DOS and Windows, with the following exceptions:
  902.    Under Print To, select the printer you want to use.  (If you have only one printer, it will generally be LPT1.)  If you want to print to a file instead of to the printer, choose File under Print To.  After you choose OK, dtSearch will ask for the name of the file to print to.
  903. THelpTopic
  904. DOS Shell
  905.    Choose DOS Shell in the File menu to access DOS from within dtSearch.  When you start a DOS shell, dtSearch removes most of itself from memory to leave room for any programs you may want to run from DOS.  The dtSearch screen will disappear and a DOS prompt will appear.
  906.    To return to dtSearch from a DOS shell, type "EXIT" at the DOS prompt and press ENTER.  The dtSearch screen will reappear, as it was before you entered the DOS shell.
  907. THelpTopic
  908. Launching Applications
  909.    dtSearch provides an easy way to use dtSearch to edit a file that you have retrieved in a search, using the word processor that you used to create the file.  This is called "launching" a program.
  910.    When you launch a program in dtSearch for DOS, dtSearch removes all but a small part of itself from memory and starts the program you launched.  When the program finishes, you will return to dtSearch and be able to resume working exactly where you left off.
  911.    To launch a program from within dtSearch, you must first tell dtSearch about the program.  To do this, choose Applications in the Options menu. After you have set up an application in dtSearch, you can press F8 (or click on "Launch") while viewing a document belonging to the application, and dtSearch will launch the application with the document.
  912. THelpTopic)
  913. Setting up an Application
  914.    Choose Applications in the Options menu to associate groups of files with applications so that you can "launch" a retrieved document in the application that created it.  The Applications dialog box will appear.
  915. To define a new application, select "<add new item>" and choose the Edit button.
  916. To edit an application that you set up previously, move the cursor to it and choose the Edit button.
  917.    A dialog box will appear allowing you to specify the following for each application:
  918. The name that will appear in the list of applications.
  919. File to Execute
  920. The name of the file to run to start this application.  For example, if you have WordPerfect 5.1 in a directory called C:\WP51, you would enter C:\WP51\WP.EXE (the name of the WordPerfect program).
  921. Directory to Run in
  922. The "home" directory for this application.  Enter a directory here if you want dtSearch to run the application in a specific directory.  If you leave this blank, dtSearch will not change directories before running the application.
  923. Command Line Options
  924. Enter any command line switches (e.g., "/s", "-d", etc.) that you want dtSearch to use when launching this application.  This is optional.
  925. Run as
  926. Under "Run as" is a list of five different ways an application can be run:
  927. DOS Normal:  dtSearch will remove itself from memory and run the program.  dtSearch will return after the program is done.
  928. DOS Quick:  dtSearch will attempt to run the program without removing itself from memory.  This will only work if the program requires very little memory.
  929. Windows Normal:  dtSearch will launch the program in Windows.
  930. Windows Minimized:  dtSearch will launch the program in Windows as an icon.
  931. Windows Maximized:  dtSearch will launch the program in Windows, full-screen.
  932. Filename Filter
  933. The filter to use to match files with this application.  If you leave this blank, all files will be included.  This filter is similar to the filters in the Add Documents to Index dialog box, except that it can include drive and directory specifications, such as:
  934.    *\WP42\*
  935. Matches anything in a directory named WP42
  936.    C:*.DOC
  937. Matches any filename ending in ".DOC" on drive C:
  938. File Type
  939. The file format that is associated with this application.  If you select "Any," all files will be included.
  940.    dtSearch matches files with applications using a combination of the file type and the filename filter.  If you specify both, both must match.  If you specify "Any" for the file type, only the filter is checked.  If you leave the filter blank, only the file type is checked.
  941.    If more than one application could match a file, dtSearch will prefer the one that can run in the current environment (i.e., DOS or Windows). For example, if you defined "WordPerfect for DOS" and "WordPerfect for Windows" as two applications associated with WordPerfect files, dtSearch would launch WordPerfect for Windows under Windows and WordPerfect for DOS under DOS.
  942.    Here is an example of how to set up WordPerfect 5.1 for DOS as an application and launch it:
  943. Choose Applications in the Options, move the cursor to "<add new item>" and choose OK.
  944. Under Name, enter "WordPerfect"
  945. Under File to Execute, enter "C:\WP51\WP.EXE" (assuming that WordPerfect is installed in C:\WP51).
  946. Under Directory to Run in, enter "C:\WP51".
  947. Under Run as, choose DOS Normal.
  948. Leave Filename Filter and Command Line Options blank.
  949. Under File Type, choose WordPerfect.
  950. Choose OK to get back to the Applications dialog box and then choose OK in that dialog box.
  951.    After you have done this, you can press F8 while viewing any WordPerfect document and you will be able to edit the document in WordPerfect.
  952. THelpTopic
  953. The Options Menu
  954. The Options menu lists options to:
  955. Change screen colors (DOS version only).
  956. Tell dtSearch what type of monitor you have (DOS version only).
  957. Create and edit macros.
  958. Define applications that you can launch.
  959. Define the file types for word processors that dtSearch cannot recognize automatically.
  960. Change the format for the display of search results.
  961. Select a new alphabet file.
  962. Specify other preferences.
  963. THelpTopic
  964. Screen Colors
  965.    Choose Colors in the Options menu to change the way dtSearch displays documents and menus.  The Colors dialog box will appear.  The first column will list types of screen objects that you can modify (Menus, Dialog Boxes, File Viewers, etc.).  When you select a screen object from the first column, the second column will list all of the parts of the object, such as the scroll bar, normal text, selected text, etc.  
  966.    When you choose an item from the second column, a box to the right of that column will display the current color setting for the item.  On a monochrome monitor, a list of monochrome screen attributes (underline, highlight, etc.) will appear in this box.  On a color monitor, a sample of each possible foreground and background color will appear.  Use the arrow keys or the mouse to select the color you want for the screen item, then press TAB (or use the mouse) to select another item to modify.
  967.    After you are done changing the colors, choose OK to save your changes.  To restore the default colors, choose Default Colors in the Options menu.
  968. THelpTopic
  969. Select Monitor Type 
  970.    dtSearch can automatically detect the type of monitor you are using and use the appropriate color scheme for it.  dtSearch keeps a separate table of screen colors for each of three monitor types:  Color, Black and White, and Monochrome.  Each monitor type has a set of default colors that you can change.
  971.    Choose Monitor Type in the Options menu if you want to select the monitor type.  You will see a list of the three monitor types and a fourth option, "Default."  If you select Default, dtSearch will decide between the "Color" and "Monochrome" options each time it is run depending on what type of monitor you have.  (dtSearch starts out with Default selected.)
  972.    There is no comparable option in dtSearch for Windows.
  973. THelpTopic
  974. File Types
  975.    dtSearch is able to detect most file formats automatically.  However, some file formats, such as WordPerfect 4.2 and older versions of WordStar, cannot be automatically detected.  To enable dtSearch to recognize files in these formats, choose File Types in the Options menu. The File Types dialog box will appear.
  976. To set up a new file type, select "<add new item>" and choose the Edit button.
  977. To edit a file type that you set up previously, move the cursor to it and choose the Edit button.
  978. A dialog box will appear asking you to specify the following:
  979. Type:  Choose the file type you want to set from the list in the dialog box.
  980. Filename Filter:  Enter a filename filter (i.e., "*.DOC") that will identify files having that format.  For example, you can tell dtSearch that any file whose name matches "*.W42" is a WordPerfect 4.2 document.
  981.    The filename filter used in this dialog box is similar to the filter in the Add Documents to Index dialog box, except that it can also include directory and disk drive specifications, such as:
  982.    *\WP42\*
  983. Matches anything in a directory named WP42
  984.    C:*.DOC
  985. Matches any filename ending in ".DOC" on drive C:
  986.    Before using this file type information, dtSearch will try to detect the format itself.  Thus, no matter what file type specifications you enter, dtSearch will recognize formats such as WordPerfect 5.1 that it can detect automatically.
  987. THelpTopic
  988. Search Results Format
  989.    Choose Search Results Format in the Options menu to modify the format dtSearch uses to display search results.  A dialog box will appear listing all of the items that can be displayed in search results.  Select the ones you want to be displayed and choose OK to save your changes. The only limitation on your ability to customize search results is that either the name of the retrieved file or its "title" (the first few words in the file) must be displayed.
  990.    By default, dtSearch will display for each file the number of hits, name, directory, modification date, and title.
  991. THelpTopic
  992. Preferences
  993.    Choose Preferences in the Options menu to change the following options:
  994. Search limit
  995. This is the maximum number of files that dtSearch will retrieve in a search.
  996. Tab size
  997. The is the width of a tab in a file displayed in a document window. For most word processors, this will be specified in the document. However, for ASCII text files, the value specified here will be used.
  998. Warn if file is too long
  999. Check this box if you want a warning message whenever dtSearch attempts to index a file that is longer than 64,000 words.  (Words after the 64,000th word will not be indexed.)
  1000. Quiet mode
  1001. Check this box if you do not want a "beep" every time dtSearch displays an information or error message.
  1002. Index binary files
  1003. Check this box if you want dtSearch to index binary files.  See the chapter on indexing documents for more information about this feature.
  1004. ENTER key means... (DOS version only)
  1005. Use this option to specify how you want the ENTER key to affect dialog boxes in dtSearch for DOS.  Under this item are two choices: "Go to next item" and "Select OK button."
  1006. If you select the first choice, the ENTER key will take you to the next item in a dialog box, unless the cursor is on a button.  If the cursor is on a button and you press ENTER, the button is pressed.
  1007. If you select the second choice, the ENTER key will work the same way it works in Windows.  Pressing ENTER in a Windows dialog box is always the same as pressing the OK button.  Instead of using ENTER to get from one item to the next, Windows users have to use TAB or the mouse.  If you prefer this, choose the "Select OK button" option.
  1008. User Name
  1009. Enter your name here if you will be using dtSearch on a network.
  1010. THelpTopic
  1011. Alphabet Customization
  1012.    dtSearch includes a utility called ALPHABET.EXE that allows you to customize dtSearch to work with character sets other than U.S. English. ALPHABET works by editing tables that dtSearch uses to process text. ALPHABET is very flexible and allows you not only to designate characters as searchable or not searchable, but also to specify what the rules are for capitalization and for converting between accented and unaccented characters.
  1013.    Most users should never have to use ALPHABET since they can work with the default alphabet file.  Unless you are using non-English text and need to customize the handling of accents, umlauts, etc., there is no reason for you to bother with ALPHABET.
  1014.    If you do need to use ALPHABET to customize character set information for your system, please read the entire manual chapter on the ALPHABET utility you begin, especially if you have WordPerfect (you may save a lot of time by doing this).
  1015.    To customize the way dtSearch handles characters, first set up a new alphabet file using ALPHABET and then choose Alphabet in the Options menu in dtSearch to make dtSearch use the new alphabet.
  1016. THelpTopic
  1017. Alphabet Files
  1018.    An alphabet file contains two tables: an alphabet and a WordPerfect table.  The alphabet contains general information about each character (whether it is a letter, space, hyphen, or ignore character, whether it has an accent or is lower case, and the unaccented and upper case equivalent).  The WordPerfect table contains the conversion table for WordPerfect characters.  Both of these are described in more detail below.
  1019. Note:  dtSearch can only use one alphabet file at a time.  If you change the alphabet file after indexing some documents, you should delete the index and rebuild it since it will no longer be valid with the modified alphabet file.
  1020. THelpTopic
  1021. Character Types
  1022.    Every IBM PC compatible computer uses a character set containing 256 letters and symbols.  The first 128 characters in the set (numbered from 0 to 127) are called the ASCII character set and are the same for all PCs.  The 128 ASCII characters include the letters of the English alphabet (a-z and A-Z), the digits (0-9), punctuation, and certain other characters.
  1023.    The other 128 characters (numbered from 128 to 255) differ from one PC to another, depending on the language that the PC is set up to use.  For example, on one PC, character number 150 might be an accented "e," while on another it could be an "O" with two dots above it.
  1024.    A dtSearch alphabet table classifies each character into one of four types: "letter," "space," "hyphen," and "ignore."
  1025. letter
  1026. A "letter" is any character that you want to be able to search for.  All of the characters in the alphabet (a-z and (A-Z) and all of the digits (0-9) should be classified as letters.
  1027. space
  1028. A space is any character that you want to cause a word break. For example, if you classify the period (".") as a "space" character, then dtSearch would process "U.S.A." as three separate words: "U" "S" and "A".
  1029. hyphen
  1030. A hyphen causes special handling of the words surrounding it. Usually only two characters get classified as "hyphen": the ASCII hyphen ("-") and the underscore ("_").  dtSearch indexes a hyphenated word as four different words to cover all possible ways to search for the word. "Full-text" would be indexed as "full," "text," "fulltext," and "full-text."
  1031. ignore
  1032. An ignored character is disregarded in processing text.  If you classify the period as "ignore" instead of "space," then dtSearch would process "U.S.A." as one word: "USA".
  1033. THelpTopic
  1034. Windows Character Set
  1035.    Microsoft Windows uses its own character set, called the "ANSI" character set.  Certain Windows word processors, such as Lotus Ami Pro, use the ANSI character set rather than the ASCII character set for storing text.  dtSearch handles ANSI characters in documents by converting them to their ASCII equivalents.
  1036.    The default table dtSearch uses to convert documents using the ANSI character set is in a file called ANSI.DAT, which is included with dtSearch.  If you are working with non-English language text in Windows-based word processors, you will probably want to generate an ANSI.DAT table customized for your system.  To do this, remove ANSI.DAT from your dtSearch directory and then run dtSearch for Windows.  dtSearch for Windows will see that ANSI.DAT is missing and generate a new copy of the file using information supplied by Windows.
  1037. THelpTopic
  1038. Letter Types
  1039.    dtSearch alphabet tables store additional information about characters that are classified as letters.  The table will indicate which letters are upper and lower case, and it will also indicate which letters have accents.  For lower case letters, the table will contain an upper case equivalent.  For accented letters, the table will contain an unaccented equivalent.
  1040.    dtSearch uses these equivalents when you build an index or do a search.  When you create an index, you can specify whether you want the index to be "case insensitive" and whether you want it to be "accent insensitive."  A case insensitive index converts all text to upper case in the index, so that "Apple," "apple" and "ApPlE"  would all be treated the same as "APPLE."  If an index is case sensitive, "Apple," "apple," and "APPLE" would be regarded as three different words.  If you are working with normal text, a case-sensitive index would be a very bad idea since, when you enter a search for "apple," you would generally not want to miss a document containing "Apple."  Case sensitive indexes may be useful, however, for programmers indexing program code.
  1041.    Similarly, an "accent insensitive" index strips the accents from text in the index, so that letters with cedillas, tildes, etc. are converted to theirunaccented equivalents.  It is generally best to make indexes accent insensitive since this minimizes the chance that you will miss retrieving a document because of a forgotten accent.
  1042. THelpTopic
  1043. WordPerfect Conversion Tables
  1044.    WordPerfect documents can contain special characters from one of twelve different WordPerfect character sets.  This allows WordPerfect documents to contain characters, like accented letters, mathematical symbols, and Greek letters, that are not in the basic ASCII character set.
  1045.    WordPerfect defines over 1500 special characters, which are divided into groups of up to 250 characters each.  The groups are called "Character Sets."  The WordPerfect character sets are:  Ascii, Multinational 1 (accents and accented letters), Multinational 2 (more accents), Box Drawing, Typographic Symbols, Iconic Symbols, Math/Scientific, Math/Scientific Extension, Greek, Hebrew, Cyrillic, Hiragana and Katakana, and User Defined.  Take a look at the appendix of your WordPerfect manual to see what the character sets look like.
  1046.    To handle WordPerfect characters, dtSearch needs to be able to tell how each WordPerfect character should be displayed on your system.  To do this, dtSearch uses a conversion table that allows you to specify how you want each of the WordPerfect special characters to be indexed and displayed in dtSearch.  This conversion table is separate from the alphabet table described above.  When dtSearch encounters a WordPerfect special character, it first uses the WordPerfect conversion table to determine what the character means, and then uses the alphabet table to determine how the character should be indexed.  For example, if dtSearch finds character number 62 from WordPerfect character set 1 in a document, it will look it up in the table and see that this corresponds to an "O" with two dots over it.  It will then look in the alphabet table to determine whether this character is a letter, whether it is upper or lower case, and whether it has an accent.
  1047. THelpTopic
  1048. Creating an Alphabet File
  1049.    The ALPHABET utility contains three top-level menus: File, Alphabet, and WordPerfect. The File menu allows you to open, close, save, or rename an alphabet file.  Once you have opened a file, you can use the Alphabet menu to modify the alphabet or use the WordPerfect menu to modify the WordPerfect table.
  1050. Editing the Alphabet
  1051.    When you open an alphabet file, a window will appear on the screen that allows you to edit the alphabet in the file.  Characters are divided into seven groups:  upper-case letters, lower-case letters, accented upper-case letters, unaccented lower-case letters, spaces, hyphens, and ignored characters.
  1052.    To modify the characteristics of a character, move the cursor to it (or click the mouse on it).  A dialog box will appear allowing you to specify the following:
  1053. Whether the character is a letter, space, hyphen, or ignored character.
  1054. Whether the character is lower case or accented.
  1055. If the character is lower case or accented, what the upper case and unaccented equivalents would be for the character.
  1056. Set Alphabet to Default
  1057.    If you select "Set to default" in the Alphabet menu, ALPHABET will generate the default DOS alphabet for your computer.  Since DOS does not know whether a character is accented or not, most accented letters will be classified as unaccented in the default alphabet.  If you want dtSearch to be able to correctly handle accent-insensitive indexes, you will need to edit the resulting alphabet to include information about accents.
  1058. Generate using WordPerfect
  1059.    This option is somewhat complicated to use, but it provides a very powerful shortcut to customizing an alphabet for your system. WordPerfect includes a file called CHARACTR.DOC, which lists every character in the WordPerfect character set.  This file is in WordPerfect format and you can edit it like any other WordPerfect document.  To generate an alphabet using WordPerfect, you would do the following:
  1060. Retrieve CHARACTR.DOC into WordPerfect.
  1061. Press CTRL-F5 ("Text In/Out"), 1 ("DOS Text"), 1 ("Save").  This will allow you to save CHARACTR.DOC in DOS Text format.
  1062. Enter a name that is not the same as CHARACTER.DOC.  Call it something else, like "CHARS.TXT".  (Otherwise you will overwrite your existing CHARACTR.DOC file.)
  1063. Exit WordPerfect.  Do NOT save the file. (You have already saved it in CHARS.TXT as a DOS Text file.)
  1064. Run ALPHABET and open a file for the alphabet you want to create.
  1065. Choose Generate using WordPerfect in the Alphabet menu and, under File to generate from, enter the name of the file you just created (i.e., CHARS.TXT).  ALPHABET will analyze the CHARS.TXT file and produce an alphabet for your system based on the file.
  1066.    How does this work?  When WordPerfect saves a file in DOS Text format, it converts the WordPerfect special characters in the file to the appropriate equivalent characters for the your computer.  Thus, the resulting CHARS.TXT file is a table showing, for each of the special WordPerfect characters, what the is equivalent character on your computer.  ALPHABET knows how to read this table and use it to deduce which characters on your computer are letters, accented letters, upper case letters, etc.  The resulting alphabet is usually very close to what you will want (there may be one or two misplaced characters, which you can clean up by hand).
  1067. Generate printable chart
  1068.    This command simply generates a printable chart listing information about each character in an alphabet.  This is useful if you want to keep a record of the changes you have made.
  1069. THelpTopic
  1070. Creating a WordPerfect Table
  1071.    The ALPHABET utility allows you to modify the way dtSearch treats special characters in WordPerfect documents by editing the WordPerfect character conversion table in an alphabet file.  Note that the WordPerfect character table is separate from the alphabet table described above.  Changes to the WordPerfect character table do not affect the alphabet settings (i.e., which characters are "letters," "ignore," etc.).
  1072.    To modify the WordPerfect character conversion table in an alphabet file, you must first open an alphabet file in the ALPHABET utility. (Choose Open in the File menu.)  Then choose Edit Character Sets in the WordPerfect menu to edit the WordPerfect character conversion table.  A dialog box will appear with a list of the WordPerfect character sets on the bottom and a chart showing the currently selected set on the top.
  1073.    The chart showing the currently selected character set is drawn in exactly the same format used in the appendix of the WordPerfect manual, so you can easily compare the appearance of the characters on the screen with the chart in the manual.  Characters that ALPHABET does not know how to display on your system will appear as a question mark ("?").
  1074.    To see one of the character sets, press TAB to get into the list of character sets and then use the cursor to select the one you want, or just click on the name of the character set you want with the mouse.  The chart will display the character set you have selected.
  1075.    To change the appearance of a character, move the cursor to it and press ENTER, or click on the character with the mouse.  A dialog box will appear that will allow you to select a character to be used to represent the WordPerfect character you selected.
  1076.    At any time, you may restore the default values for the WordPerfect Conversion table by pressing the "Restore Default" button in the dialog box.  Any changes you have made will be lost.
  1077.    As with alphabet customization, ALPHABET provides a powerful shortcut to customizing the WordPerfect table for your system, again using the WordPerfect CHARACTR.DOC file.  Follow the procedure described above to create a CHARS.TXT file, and then do the following:
  1078. In the WordPerfect menu, choose Edit Character Sets.
  1079. Choose Generate in the WordPerfect Character Tables dialog box.
  1080. A dialog box will appear asking for the name of the file to generate from.  Enter the name of the CHARS.TXT file you created.  ALPHABET will deduce from the table in CHARS.TXT how each member of the WordPerfect character set should appear on your system.
  1081.    After you have modified the WordPerfect table you can test it by viewing the CHARACTR.DOC file in dtSearch.
  1082. THelpTopic
  1083. Using dtSearch on a Network
  1084.    dtSearch can use network drives and supports multiuser access to indexes stored on networks.  If an index is stored on a network drive, any user who has write access to the directory containing the index will be able to update the index in dtSearch.  Any user who has read access to the index will be able to search the index or perform other functions (such as Verify Index and Copy Index) that do not require write access.
  1085.    Multiuser access is permitted only when no one is modifying an index. If one user is updating or compressing an index, other users will be locked out.  A message "User XXXX is updating index" will appear when a user attempts to gain access to an index that is being updated.  (The name of the user comes from the "User name" option in the Options menu.)
  1086.    Write access to shared indexes should be limited as much as possible, preferably to one or two users.  This will minimize locking out of other users while the index is being updated and will also protect the shared indexes against accidental erasure.  Write and read access to shared indexes is controlled completely by the network's access permission settings.
  1087.    Each user on a network who will be using dtSearch needs to have his or her own copy of the program.
  1088. THelpTopic
  1089. Program Limits and Requirements
  1090. 1.  Program limits:  Indexes
  1091. A single index may contain up to 15,000 documents.  There is no limit on the number of indexes you can have.
  1092. A single document may contain up to 64,000 words (about 300 double-spaced pages).
  1093. An index library can hold up to 25 indexes, and there is no limit on the number of index libraries you can create.
  1094. A noise word list can hold up to 200 words.  Words after the 200th word in a list will be disregarded.
  1095. 2.  Program limits:  Searches
  1096. A search word can be up to 32 letters long.
  1097. A search request can be up to 180 characters long.
  1098. You can have up to 25 macro definitions.
  1099. 3.  System requirements:
  1100. dtSearch for DOS will run on an IBM-compatible computer with at least 384k of memory available, a hard disk, and DOS version 3.3 or higher.  However, at least 512k of memory is recommended to run dtSearch.  (With less memory, you may be unable to execute certain complex searches.)
  1101. dtSearch for Windows requires Windows version 3.1.  It will not run under Windows version 3.0.
  1102. dtSearch can use network drives and supports multiuser access to indexes stored on network drives.
  1103. 4.  Document Types
  1104. dtSearch can read, search, and index documents in the following formats:
  1105. Ami Pro
  1106. ASCII or DOS Text
  1107. Microsoft Works
  1108. Microsoft Word through version 5.5
  1109. Microsoft Word for Windows through version 2.0
  1110. Microsoft Rich Text Format
  1111. Multimate Advantage II
  1112. Multimate version 4
  1113. WordPerfect 4.2, 5.0, and 5.1
  1114. WordPerfect 5.1 and 5.2 for Windows
  1115. WordStar through version 6
  1116. WordStar 2000
  1117. THelpTopic!
  1118. Error Messages (A-E)
  1119. "Application table is full"
  1120. You can define up to 7 applications in dtSearch.  If you attempt to add more, this message will appear.
  1121. "Cannot copy an index onto itself"
  1122. You have asked dtSearch to copy an index, and either (1) the directory to copy it to is the same as the directory the index currently occupies, or (2) the name of the index to copy is the same as the new name for the copied index.  When you copy an index, the name and directory for the new index must be different from the name and directory of the existing index.
  1123. "Cannot overwrite protected file type"
  1124. This message will appear if you attempt to use Edit File to edit a document that dtSearch recognizes as a word processing document.  To protect against accidental destruction of original documents, dtSearch considers all files with special formatting codes that it recognizes (such as WordPerfect files) to be "protected."  dtSearch will not overwrite such files.
  1125. "Directory xxx already contains index yyy"
  1126. A directory can only hold one index.  If you try to use Create Index to create a second index using the same directory name, this message will appear.
  1127. "Error launching application"
  1128. dtSearch tried to execute a program and the program returned an error code.  This means that something when wrong in the launched program.
  1129. "Error(s) in search request -- CONTAINS without a TO"
  1130. A segment search has the form beginning TO end CONTAINS contents.  The beginning TO end part defines where dtSearch should search, and the contents part is what dtSearch should look for.  If you leave out the "TO" part, dtSearch has no way to know what the segment to be searched is.
  1131.  "Error(s) in search request -- Illegal use of the TO connector"
  1132. The TO connector is used to define a segment for a segment search. The format for a segment definition is beginning TO end, where beginning marks the beginning of the segment and end marks the end.  Both parts of the segment definition may consist only of words, phrases, and the OR connector -- other connectors are not permitted in segment definitions. Thus, "(apple or pear) to (grape or fish)" is legal; "(apple and pear) to (grape or fish)" is not.
  1133. "Error(s) in search request -- Illegal use of W/N connector"
  1134. Some search requests using the W/N connector are ambiguous or impossible to evaluate.  See the manual section on the W/N connector for more details.
  1135. "Error(s) in search request -- Invalid date"
  1136. dtSearch will display this message if it finds XDATE in a search request without a valid date after it.  Likely causes of this error are a misspelled month, a missing year, or a missing BEFORE, AFTER, or IS connector.  A valid date search looks like one of the following:
  1137.       XDATE IS date
  1138.       XDATE BEFORE date
  1139.       XDATE AFTER date
  1140. "Error(s) in search request -- Missing words"
  1141. This message appears when you have left one or more words out of a search request.  Example: "apple and pear and"
  1142. "Error(s) in search request -- Parentheses do not balance"
  1143. This just means that you have left out an opening or closing parenthesis in a search request.
  1144. "Error reading WordPerfect file"
  1145. WordPerfect files occasionally become corrupted due to disk problems or WordPerfect bugs.  When dtSearch reads a WordPerfect document, it checks for errors in the file and displays this message if it finds any. Note:  You can generally fix a corrupted WordPerfect document by (1) getting the mostrecent release of WordPerfect and (2) retrieving the document into WordPerfect, scrolling to the end of the file, and saving it.
  1146. "Error running script"
  1147. This message will appear after you have executed a batch script and errors occurred.  Check the log file created during execution of the script to see what happened.  (The log file will have the same name as the script file but it will end in ".LOG".)
  1148. THelpTopic
  1149. Error Messages (F-M)
  1150. "File xxx has more than 64,000 words"
  1151. dtSearch cannot index more than 64,000 words in a single file.  This message will appear if a file exceeds the 64,000 word limit.  To turn off this warning message, choose Preferences in the Options menu and uncheck the box next to Warn if file is too long.
  1152. "File xxx is not a script file"
  1153. You have attempted to execute a file using the /SCRIPT option, and dtSearch determined that the file was not a batch script.  All dtSearch batch scripts must begin with the words "DTSEARCH SCRIPT."
  1154. "Index already exists"
  1155. If you try to create an index that already exists in a different directory, this message will appear.  If you are trying to create a new index, try using a different name for the new index, or (if you do not want the old index) deleting the old index.  If you are trying to re-create an existing index, make sure the directory you have selected is the same one that you used to create the original index.
  1156. "Index has version 1.x format"
  1157. You have asked dtSearch 2.0 to search or update an index created by dtSearch version 1.0, 1.1, 1.11, or 1.12.  dtSearch 2.0 cannot use these indexes.
  1158. "Index is full"
  1159. An index can hold up to 15,000 documents.  If you try to add more than 15,000 documents to an index, you will get this message.  (You can still reindex documents already in the index.)
  1160. Even if you have less than 15,000 documents, you may still get this message if you have reindexed some documents without compressing the index.  When you reindex a document, dtSearch adds information about the new document to the index but does not remove information about the earlier version.  For example, if you have 10,000 documents in an index and you reindex them several times without compressing the index, you may get an "Index is full" message because the index will still contain information about obsolete versions of the documents.  If you want to see how many obsolete documents are stored in an index, use the "Index Information" option in the Index menu.  Use Compress to clean obsolete documents from your index.
  1161. "Index library is full"
  1162. An index library can hold a maximum of 25 indexes.  If you try to create, copy, or recognize an index when you have reached this limit, you will get this error message.  Try either deleting any indexes that you do not need, or creating a new index library to use for the new index.
  1163. "Index too large to fit on drive"
  1164. You have asked dtSearch to copy an index and there is not enough space for the index on the drive where it is to be copied.
  1165. "Invalid disk drive"
  1166. This means that you have asked dtSearch to access a disk drive that does not exist on your computer.
  1167. "Macro is circular"
  1168. A circular macro is one that references itself, directly or through other macros.  Such a macro would expand infinitely if used in a search request.
  1169. "Macro not found"
  1170. dtSearch assumes that any search term beginning with the "@" character is a macro name.  If it does not find a macro with this name, this message appears.
  1171. "Missing file"
  1172. One of the files that dtSearch needs is missing.  Try re-installing dtSearch to restore the missing file.
  1173. THelpTopic
  1174. Error Messages (N-S)
  1175. "No application to launch"
  1176. You have tried to "launch" an application with a file, and dtSearch was unable to match the file with an application.  When you launch an application with a file, dtSearch checks the type and name of the file you launched against the applications you set up in your applications table.  If dtSearch cannot find a match, this message will appear.  Try checking the application you intended to launch by choosing Applications in the Options menu to make sure the application was set up correctly.
  1177. "No files retrieved"
  1178. Your search did not retrieve any documents.
  1179. "No files to index"
  1180. This means that you tried to add some documents to an index, but either you did not specify any files to be added or all of the files were already in the index.
  1181. "Noise word used in search request"
  1182. A noise word is a word like "the" or "if" that is so common that it is not useful in searching.  This message will appear if one of the words in a search request is a noise word in the index you are searching.  See the manual section on noise words for more information.
  1183. "Not enough memory"
  1184. dtSearch did not have enough memory to perform a requested action.  If you have a relatively small amount of memory available, you may get this message when you try to do a search or update an index while you are viewing documents or search results on the screen.  Here are some steps to try if you get this message:
  1185. Close all document windows.
  1186. If this message appears while doing a search, try simplifying the search request.
  1187. Remove some memory-resident programs to free more memory for dtSearch to use.
  1188. Run dtSearch using the /LM1 ("low memory mode") or /LM2 ("very low memory mode") switch.
  1189. "Not enough space to compress or update index"
  1190. dtSearch did not find enough disk space available to update or compress an index.  dtSearch requires free space of about one-third the size of a group of files to index those files.  To compress an index, dtSearch requires free space at least equal to the size of the index to be compressed.  If you get this message, try removing some files from the disk or moving the index to a disk drive with more space available. Also, try indexing smaller groups of files.
  1191. "Not found"
  1192. You have used Find (F2) to search for text in a document, and the text was not found.
  1193. "Printer error"
  1194. "Printer out of paper"
  1195. "Printer not responding"
  1196. "Printer not selected"
  1197. "Printer timeout"
  1198. The printer did not respond correctly when dtSearch tried to print something.  Check the cables and make sure the printer is turned on, selected, has paper in it, and is not jammed.  dtSearch reports the problem that DOS told it about, but sometimes either the printer or DOS does not report the problemcorrectly.  For example, you may get a "Printer out of paper" error message when the printer is not turned on.
  1199. "Search request is too long"
  1200. It is possible, using macros, to generate search requests longer than the 180-character maximum.  When this happens, you will get a "Search request is too long" error message.
  1201. THelpTopic
  1202. Error Messages (T-Z)
  1203. "To create an index, you must enter a name for the index"
  1204. You have used Create Index to create a new index and did not enter a name for the index.
  1205. "Too many files retrieved -- search halted"
  1206. By default, dtSearch will halt a search after 99 files have been retrieved.  If you would like to change this number, choose Preferences in the Options menu and change the value for Search limit.
  1207. "Too many words retrieved in index"
  1208. Your search request contained extremely broad search terms, such as "(r* w/5 s*) and t*," that matched several hundred words in an index. Try using more specific search terms.
  1209. "Unable to access drive"
  1210. You have asked dtSearch to access a disk drive and there is some problem with the disk drive.  If you were trying to access a floppy disk drive, make sure that there is a disk in the drive, that the disk is correctly inserted, and that the drive latch is closed.  If you were trying to access a hard disk drive, the drive you requested may not exist or there may be a problem with your hard disk.
  1211. "Unable to access ..."
  1212. "Unable to read ..."
  1213. dtSearch cannot find the file or directory you specified.  Check that the file or directory name is correct and that you are using the right disk or disk drive.
  1214. "Unable to create ..."
  1215. "Unable to write ..."
  1216. "Unable to save ..."
  1217. dtSearch cannot write to or create the file or directory you specified.  Check that the file or directory name is correct and that you are using the right disk or disk drive.  These messages may also appear when a disk is full.
  1218. "Unable to access index"
  1219. dtSearch was unable to find the index where it was supposed to be. The most likely cause for this message is that part or all of the index was accidentally deleted or moved.
  1220. "User XXXX is updating index"
  1221. On a network, this message will appear when one user attempts to use an index while another user is updating it.  The message can also appear if dtSearch was interrupted abnormally while updating an index (e.g., if someone turned off the computer while building an index).  In the latter case, the index may be damaged.  Try running Verify Index to check for errors and delete and rebuild the index if Verify Index reports that the index is corrupted.
  1222. "You must create an index before using this command"
  1223. You have tried to execute a command that cannot be used unless you already have an index to work with.  Choose Create Index (Basic) in the Index menu to create an index.
  1224. "You must have a document or search results window open to use this command"
  1225. You have tried to use a command that works with one or more document or search results window (such as Print, Local Menu, Cascade Windows, or Tile Windows) and there are no windows currently open.
  1226. THelpTopic
  1227. Technical Support
  1228. For technical support on dtSearch, please contact the Advanced Support Group:
  1229. Telephone:
  1230. (314) 965-5630
  1231. (314) 966-1833
  1232. (314) 966-1833
  1233. CompuServe:
  1234. 70304,3642
  1235. You can reach DT Software, Inc., at (703) 521-9427, by mail at 2101 Crystal Plaza Arcade, Suite 231, Arlington, Virginia 22202, or on CompuServe at 72607,3323. 
  1236. THelpTopic
  1237. How to Order a Site License
  1238. Site licensing enables companies, departments, government agencies, etc., to equip their personnel with software at greatly reduced cost. The company purchasing a site license (the licensee) typically provides a single point of contact for shipping, technical support, upgrades, etc., and we (the licensor) provide a single master of the diskettes and manual.
  1239. A site license for dtSearch for DOS or dtSearch for Windows costs $200.00 plus $50 per user for up to 50 users.  Additional users beyond 50 cost $40 per user.
  1240. A combined DOS/Windows site license is also available for $20 extra per user.  This site license enables each licensed user to use both dtSearch for DOS and dtSearch for Windows.
  1241. To order a dtSearch site license, please contact the Advanced Support Group:
  1242. Telephone:
  1243. (800) 788-0787
  1244. (314) 966-1833
  1245. (314) 966-1833
  1246. CompuServe:
  1247. 70304,3642
  1248. You can reach DT Software, Inc., at (703) 521-9427, by mail at 2101 Crystal Plaza Arcade, Suite 231, Arlington, Virginia 22202, or on CompuServe at 72607,3323.
  1249. THelpTopic
  1250. How to Order dtSearch
  1251. To order dtSearch, please contact the Advanced Support Group:
  1252. Telephone:
  1253. (800) 788-0787
  1254. (314) 966-1833
  1255. (314) 966-1833
  1256. CompuServe:
  1257. 70304,3642
  1258. Prices:
  1259.      dtSearch for DOS:
  1260.  $99.00
  1261.      dtSearch for Windows:
  1262.  $99.00
  1263.      Both:                    $149.00
  1264. You can reach DT Software, Inc., at (703) 521-9427, by mail at 2101 Crystal Plaza Arcade, Suite 231, Arlington, Virginia 22202,or on CompuServe at 72607,3323.
  1265. THelpTopico
  1266. Table of Contents
  1267. Table
  1268. Contents 
  1269. Index 
  1270. Introduction 
  1271.    4. Getting Started 
  1272. System
  1273. Requirements 
  1274. Quick
  1275. Start
  1276. Overview 
  1277. Quick
  1278. Start
  1279. Unindexed
  1280. Search 
  1281. Quick
  1282. Start
  1283. Viewing
  1284. Search
  1285. Results 
  1286. Quick
  1287. Start
  1288. Indexing
  1289. Documents 
  1290. Quick
  1291. Start
  1292. Index
  1293. Search 
  1294. Dialog
  1295. Boxes
  1296. Dialog
  1297. Boxes
  1298.    5. Indexing Documents 
  1299. Document
  1300. Index? 
  1301. Index
  1302. Menu 
  1303. Creating
  1304. Index 
  1305. Adding
  1306. Documents
  1307. Index 
  1308. Selecting
  1309. Directories
  1310. Index 
  1311. Filename
  1312. Filters 
  1313. Compressing
  1314. Index 
  1315. Archive
  1316. Indexes 
  1317. Index
  1318. Capacity 
  1319. Indexing
  1320. Binary
  1321. Files 
  1322.    6. Working with Indexes 
  1323. Deleting
  1324. Index 
  1325. Renaming
  1326. Index 
  1327. Copying
  1328. Index 
  1329. Recognizing
  1330. Existing
  1331. Index 
  1332. Index
  1333. Information 
  1334. Verifying
  1335. Index 
  1336. Words
  1337. Index 
  1338. Index
  1339. Libraries 
  1340.    7. Search Requests 
  1341. Search
  1342. Requests
  1343. (Overview) 
  1344. Search
  1345. Terms 
  1346. Phrase
  1347. Searches 
  1348. Noise
  1349. Words 
  1350. Connector 
  1351. Connector 
  1352. Connector 
  1353. Search
  1354. Macros 
  1355. Segment
  1356. Searches 
  1357. Filename
  1358. Searches 
  1359.    8. Searching for Documents 
  1360. Search
  1361. Menu 
  1362. Index
  1363. Searches 
  1364. Unindexed
  1365. Searches 
  1366. Combination
  1367. Searches 
  1368. Selecting
  1369. Directories
  1370. Search 
  1371. Sorting
  1372. Search
  1373. Results 
  1374.    9. Viewing Files and Search Results 
  1375. Viewing
  1376. Search
  1377. Results 
  1378. Viewing
  1379. Retrieved
  1380. Document 
  1381. Local
  1382. Menu 
  1383. Search
  1384. Results
  1385. Format 
  1386. Finding
  1387. Window 
  1388. Finding
  1389. Hits 
  1390. View 
  1391. Search
  1392. Reports 
  1393. Viewing
  1394. Multiple
  1395. Windows 
  1396. Marking
  1397. Copying
  1398. Text 
  1399. Printing
  1400. File 
  1401. Using
  1402. Mouse
  1403.   10. Batch Indexing and Searching 
  1404. Batch
  1405. Indexing
  1406. Searching
  1407. Overview 
  1408. Batch
  1409. Scripts 
  1410. Creating
  1411. Index
  1412. (Batch) 
  1413. Adding
  1414. Documents
  1415. Index
  1416. (Batch) 
  1417. Reindexing
  1418. (Batch) 
  1419. Compressing
  1420. Index
  1421. (Batch) 
  1422. Searching
  1423. Index
  1424. (Batch) 
  1425.   11. The File Menu 
  1426. Menu 
  1427. Viewing
  1428. File 
  1429. Editing
  1430. Printing
  1431. File 
  1432. Shell 
  1433.   12. Applications and File Types 
  1434. Launching
  1435. Applications 
  1436. Setting
  1437. Application 
  1438.   13. Options 
  1439. Options
  1440. Menu 
  1441. Screen
  1442. Colors 
  1443. Select
  1444. Monitor
  1445. Types 
  1446. Search
  1447. Results
  1448. Format 
  1449. Preferences 
  1450.   14. The ALPHABET Utility 
  1451. Alphabet
  1452. Customization 
  1453. Alphabet
  1454. Files 
  1455. Character
  1456. Types 
  1457. Windows
  1458. Character
  1459. Letter
  1460. Types 
  1461. WordPerfect
  1462. Conversion
  1463. Tables 
  1464. Creating
  1465. Alphabet
  1466. File 
  1467. Creating
  1468. WordPerfect
  1469. Table 
  1470. Using
  1471. dtSearch
  1472. Network 
  1473. Program
  1474. Limits
  1475. Requirements 
  1476. Error
  1477. Messages
  1478. (A-E) 
  1479. Error
  1480. Messages
  1481. (F-M) 
  1482. Error
  1483. Messages
  1484. (N-S) 
  1485. Error
  1486. Messages
  1487. (T-Z) 
  1488. Technical
  1489. Support 
  1490. Order
  1491. License 
  1492. Order
  1493. dtSearch 
  1494. THelpTopicd
  1495. Index
  1496.   AND
  1497. Connector 
  1498.   Adding
  1499. Documents
  1500. Index 
  1501.   Adding
  1502. Documents
  1503. Index
  1504. (Batch) 
  1505.   Alphabet
  1506. Customization 
  1507.   Alphabet
  1508. Files 
  1509.   Archive
  1510. Indexes 
  1511.   Batch
  1512. Indexing
  1513. Searching
  1514. Overview 
  1515.   Batch
  1516. Scripts 
  1517.   Character
  1518. Types 
  1519.   Combination
  1520. Searches 
  1521.   Compressing
  1522. Index 
  1523.   Compressing
  1524. Index
  1525. (Batch) 
  1526.   Copying
  1527. Index 
  1528.   Creating
  1529. WordPerfect
  1530. Table 
  1531.   Creating
  1532. Alphabet
  1533. File 
  1534.   Creating
  1535. Index 
  1536.   Creating
  1537. Index
  1538. (Batch) 
  1539.   DOS
  1540. Shell 
  1541.   Date
  1542. Filename
  1543. Searches 
  1544.   Deleting
  1545. Index 
  1546.   Dialog
  1547. Boxes
  1548.   Editing
  1549.   Error
  1550. Messages
  1551. (A-E) 
  1552.   Error
  1553. Messages
  1554. (F-M) 
  1555.   Error
  1556. Messages
  1557. (N-S) 
  1558.   Error
  1559. Messages
  1560. (T-Z) 
  1561.   File
  1562. Dialog
  1563. Boxes
  1564.   File
  1565. Types 
  1566.   Filename
  1567. Filters 
  1568.   Finding
  1569. Hits 
  1570.   Finding
  1571. Window 
  1572.   Help
  1573.   How
  1574. Order
  1575. License 
  1576.   How
  1577. Order
  1578. dtSearch 
  1579.   Index 
  1580.   Index
  1581. Capacity 
  1582.   Index
  1583. Information 
  1584.   Index
  1585. Libraries 
  1586.   Index
  1587. Menu 
  1588.   Index
  1589. Searches 
  1590.   Indexing
  1591. Binary
  1592. Files 
  1593.   Introduction 
  1594.   Kwic
  1595. View 
  1596.   Launching
  1597. Applications 
  1598.   Letter
  1599. Types 
  1600.   List
  1601. Words
  1602. Index 
  1603.   Local
  1604. Menu 
  1605.   Marking
  1606. Copying
  1607. Text 
  1608.   NOT
  1609.   Noise
  1610. Words 
  1611. Connector 
  1612.   Phrase
  1613. Searches 
  1614.   Preferences 
  1615.   Printing
  1616. File 
  1617.   Printing
  1618. File 
  1619.   Program
  1620. Limits
  1621. Requirements 
  1622.   Quick
  1623. Start
  1624. Index
  1625. Search 
  1626.   Quick
  1627. Start
  1628. Indexing
  1629. Documents 
  1630.   Quick
  1631. Start
  1632. Overview 
  1633.   Quick
  1634. Start
  1635. Unindexed
  1636. Search 
  1637.   Quick
  1638. Start
  1639. Viewing
  1640. Search
  1641. Results 
  1642.   Recognizing
  1643. Existing
  1644. Index 
  1645.   Reindexing
  1646. (Batch) 
  1647.   Renaming
  1648. Index 
  1649.   Screen
  1650. Colors 
  1651.   Search
  1652. Macros 
  1653.   Search
  1654. Menu 
  1655.   Search
  1656. Reports 
  1657.   Search
  1658. Requests
  1659. (Overview) 
  1660.   Search
  1661. Results
  1662. Format 
  1663.   Search
  1664. Results
  1665. Format 
  1666.   Search
  1667. Terms 
  1668.   Searching
  1669. Index
  1670. (Batch) 
  1671.   Segment
  1672. Searches 
  1673.   Select
  1674. Monitor
  1675.   Selecting
  1676. Directories
  1677. Index 
  1678.   Selecting
  1679. Directories
  1680. Search 
  1681.   Setting
  1682. Application 
  1683.   Sorting
  1684. Search
  1685. Results 
  1686.   System
  1687. Requirements 
  1688.   Table
  1689. Contents 
  1690.   Technical
  1691. Support 
  1692.   The
  1693. Menu 
  1694.   The
  1695. Options
  1696. Menu 
  1697.   Unindexed
  1698. Searches 
  1699.   Using
  1700. dtSearch
  1701. Network 
  1702.   Using
  1703. Mouse
  1704.   Verifying
  1705. Index 
  1706.   Viewing
  1707. Multiple
  1708. Windows 
  1709.   Viewing
  1710. Search
  1711. Results 
  1712.   Viewing
  1713. File 
  1714.   Viewing
  1715. Retrieved
  1716. Document 
  1717.   W/N
  1718. Connector 
  1719.   What
  1720. Document
  1721. Index? 
  1722.   Windows
  1723. Character
  1724.   WordPerfect
  1725. Conversion
  1726. Tables 
  1727. THelpIndex
  1728.